summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-03-11 00:19:26 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-11 00:19:27 +0000
commit8ccfe899a7b7edebf776584d0e32139cc990c8d5 (patch)
treec7272eade2055237826538dc2b8597226c61de97 /core
parentbd5e03b6d996aa39a6f607a55ffd0691a55b1cee (diff)
parent2c1078fbbd550d8adb7ca0d39447bfebc6092012 (diff)
downloadframeworks_base-8ccfe899a7b7edebf776584d0e32139cc990c8d5.zip
frameworks_base-8ccfe899a7b7edebf776584d0e32139cc990c8d5.tar.gz
frameworks_base-8ccfe899a7b7edebf776584d0e32139cc990c8d5.tar.bz2
Merge "resolved conflicts for merge of b6d6c04a to master"
Diffstat (limited to 'core')
-rw-r--r--core/java/com/android/internal/os/InstallerConnection.java6
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());
}