summaryrefslogtreecommitdiffstats
path: root/toolbox
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-05-15 09:15:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-15 09:15:52 +0000
commit5f6beb12c1b66d6fbcebd86383f29337674ac75c (patch)
tree3a6dd831e1b0cbaea9a2a5b4778eb2f802069f43 /toolbox
parentd20ba7fca295453648bc9093db03c16efbc6df1b (diff)
parent22e22acbf0aa5cf11131cc8f7269fbe268fd0e9e (diff)
downloadsystem_core-5f6beb12c1b66d6fbcebd86383f29337674ac75c.zip
system_core-5f6beb12c1b66d6fbcebd86383f29337674ac75c.tar.gz
system_core-5f6beb12c1b66d6fbcebd86383f29337674ac75c.tar.bz2
Merge ""stop" / "start must apply to the secondary zygote as well."
Diffstat (limited to 'toolbox')
-rw-r--r--toolbox/start.c1
-rw-r--r--toolbox/stop.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/toolbox/start.c b/toolbox/start.c
index 665a941..26344da 100644
--- a/toolbox/start.c
+++ b/toolbox/start.c
@@ -15,6 +15,7 @@ int start_main(int argc, char *argv[])
/* defaults to starting the common services stopped by stop.c */
property_set("ctl.start", "surfaceflinger");
property_set("ctl.start", "zygote");
+ property_set("ctl.start", "zygote_secondary");
}
return 0;
diff --git a/toolbox/stop.c b/toolbox/stop.c
index 460f377..6552c7c 100644
--- a/toolbox/stop.c
+++ b/toolbox/stop.c
@@ -11,6 +11,7 @@ int stop_main(int argc, char *argv[])
property_set("ctl.stop", argv[1]);
} else{
/* defaults to stopping the common services */
+ property_set("ctl.stop", "zygote_secondary");
property_set("ctl.stop", "zygote");
property_set("ctl.stop", "surfaceflinger");
}