summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2015-08-18 07:41:50 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-08-18 07:41:50 +0000
commit9a010d0a4157f97870bc38bd3dd0a8f4fd18a172 (patch)
tree7338357decc0b41ed6ff73f7853b700c7790c0c2 /cmds
parent96695d2f5961cbfac2d5c5ea6a7c03612991d5fb (diff)
parent7a09b8322cab26d6e3da1362d3c74964ae66b5d4 (diff)
downloadframeworks_base-9a010d0a4157f97870bc38bd3dd0a8f4fd18a172.zip
frameworks_base-9a010d0a4157f97870bc38bd3dd0a8f4fd18a172.tar.gz
frameworks_base-9a010d0a4157f97870bc38bd3dd0a8f4fd18a172.tar.bz2
Merge "Allow debugging only for apps forked from zygote" into mnc-dev
Diffstat (limited to 'cmds')
-rw-r--r--cmds/app_process/app_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/app_process/app_main.cpp b/cmds/app_process/app_main.cpp
index 449a4ab..2e02382 100644
--- a/cmds/app_process/app_main.cpp
+++ b/cmds/app_process/app_main.cpp
@@ -304,9 +304,9 @@ int main(int argc, char* const argv[])
}
if (zygote) {
- runtime.start("com.android.internal.os.ZygoteInit", args);
+ runtime.start("com.android.internal.os.ZygoteInit", args, zygote);
} else if (className) {
- runtime.start("com.android.internal.os.RuntimeInit", args);
+ runtime.start("com.android.internal.os.RuntimeInit", args, zygote);
} else {
fprintf(stderr, "Error: no class name or --zygote supplied.\n");
app_usage();