From 22e22acbf0aa5cf11131cc8f7269fbe268fd0e9e Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Fri, 9 May 2014 17:56:33 +0100 Subject: [PATCH] "stop" / "start must apply to the secondary zygote as well. Would've been nice if we could use the sys property observer to start and stop all services in a service class but service classes do not appear to be fully supported. Change-Id: Iaf17a2dbcf913c4c646bc1e8e13adee9f952c45e --- toolbox/start.c | 1 + toolbox/stop.c | 1 + 2 files changed, 2 insertions(+) diff --git a/toolbox/start.c b/toolbox/start.c index 665a94193..26344dab6 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 460f3776d..6552c7cb6 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"); }