diff options
author | Andreas Gampe <agampe@google.com> | 2015-03-10 02:10:22 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-03-10 02:10:22 +0000 |
commit | 174a44888ec56f688426c80d50b9e0021f47c16f (patch) | |
tree | 757c016179c9f1a989342ed9df1a5fb0ab987efb /core | |
parent | db7fa51ff0f330b79b171f03b4304a75affaabce (diff) | |
parent | 7f383873566024c7121cadae3bbdd2a7c47150bc (diff) | |
download | frameworks_base-174a44888ec56f688426c80d50b9e0021f47c16f.zip frameworks_base-174a44888ec56f688426c80d50b9e0021f47c16f.tar.gz frameworks_base-174a44888ec56f688426c80d50b9e0021f47c16f.tar.bz2 |
am 7f383873: Merge "Frameworks/base: Pass APK debugability to installd"
* commit '7f383873566024c7121cadae3bbdd2a7c47150bc':
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()); } |