diff options
author | Andreas Gampe <agampe@google.com> | 2015-03-10 15:11:56 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-03-10 15:11:56 +0000 |
commit | b6d6c04a717222178184bff135bd12cfc4c019a1 (patch) | |
tree | 6fc2efe46c97abe946e13d171c7e4536bc6df646 /core | |
parent | 4c887ac9318402b914dbee4462485006395bdfbe (diff) | |
parent | 174a44888ec56f688426c80d50b9e0021f47c16f (diff) | |
download | frameworks_base-b6d6c04a717222178184bff135bd12cfc4c019a1.zip frameworks_base-b6d6c04a717222178184bff135bd12cfc4c019a1.tar.gz frameworks_base-b6d6c04a717222178184bff135bd12cfc4c019a1.tar.bz2 |
am 174a4488: am 7f383873: Merge "Frameworks/base: Pass APK debugability to installd"
* commit '174a44888ec56f688426c80d50b9e0021f47c16f':
Frameworks/base: Pass APK debugability to installd
Diffstat (limited to 'core')
-rw-r--r-- | core/java/com/android/internal/os/InstallerConnection.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/com/android/internal/os/InstallerConnection.java b/core/java/com/android/internal/os/InstallerConnection.java index 2f30ebc..433a54b 100644 --- a/core/java/com/android/internal/os/InstallerConnection.java +++ b/core/java/com/android/internal/os/InstallerConnection.java @@ -91,11 +91,11 @@ public class InstallerConnection { } public int dexopt(String apkPath, int uid, boolean isPublic, String instructionSet) { - return dexopt(apkPath, uid, isPublic, "*", instructionSet, false); + return dexopt(apkPath, uid, isPublic, "*", instructionSet, false, false); } public int dexopt(String apkPath, int uid, boolean isPublic, String pkgName, - String instructionSet, boolean vmSafeMode) { + String instructionSet, boolean vmSafeMode, boolean debuggable) { StringBuilder builder = new StringBuilder("dexopt"); builder.append(' '); builder.append(apkPath); @@ -106,8 +106,8 @@ public class InstallerConnection { builder.append(pkgName); builder.append(' '); builder.append(instructionSet); - builder.append(' '); builder.append(vmSafeMode ? " 1" : " 0"); + builder.append(debuggable ? " 1" : " 0"); return execute(builder.toString()); } |