Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22e22acb authored by Narayan Kamath's avatar Narayan Kamath
Browse files

"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
parent 9428a289
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
+1 −0
Original line number Diff line number Diff line
@@ -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");
    }