Merge ""stop" / "start must apply to the secondary zygote as well."

This commit is contained in:
Narayan Kamath 2014-05-15 09:15:51 +00:00 committed by Gerrit Code Review
commit 5f6beb12c1
2 changed files with 2 additions and 0 deletions

View file

@ -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;

View file

@ -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");
}