summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-03-10 15:36:20 -0700
committerAndreas Gampe <agampe@google.com>2015-03-10 15:45:36 -0700
commit2c1078fbbd550d8adb7ca0d39447bfebc6092012 (patch)
tree5a8b61e3f7e7c2223e67ae4bdd1e41235a1649cf /core
parentc4be90872685c4507b516e96040d57a796792165 (diff)
parentb6d6c04a717222178184bff135bd12cfc4c019a1 (diff)
downloadframeworks_base-2c1078fbbd550d8adb7ca0d39447bfebc6092012.zip
frameworks_base-2c1078fbbd550d8adb7ca0d39447bfebc6092012.tar.gz
frameworks_base-2c1078fbbd550d8adb7ca0d39447bfebc6092012.tar.bz2
resolved conflicts for merge of b6d6c04a to master
Change-Id: I5286b9fe2d9bde4b219496e593cf028cc4c75bc7
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());
}