"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
This commit is contained in:
parent
9428a2898c
commit
22e22acbf0
|
@ -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;
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue