* commit '1575e1639c7c72f042fe20f0d862f53b55ded651': Stop and start netd explicitly for "adb shell stop/start".
This commit is contained in:
commit
c7e85bf5e3
2 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ int start_main(int argc, char *argv[])
|
|||
property_set("ctl.start", argv[1]);
|
||||
} else {
|
||||
/* defaults to starting the common services stopped by stop.c */
|
||||
property_set("ctl.start", "netd");
|
||||
property_set("ctl.start", "surfaceflinger");
|
||||
property_set("ctl.start", "zygote");
|
||||
property_set("ctl.start", "zygote_secondary");
|
||||
|
|
|
@ -12,6 +12,7 @@ int stop_main(int argc, char *argv[])
|
|||
property_set("ctl.stop", "zygote_secondary");
|
||||
property_set("ctl.stop", "zygote");
|
||||
property_set("ctl.stop", "surfaceflinger");
|
||||
property_set("ctl.stop", "netd");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue