start: Toggle iorapd on/off when using 'start' command (by itself)

iorapd depends on pm in system_server, so turn it off too when we
turn off system_server with the 'stop' command.

Bug: 153964298
Test: adb shell stop
Test: adb shell start
Change-Id: I08390472b1e1b969d0380843efa1bbd35b194250
This commit is contained in:
Igor Murashkin 2020-04-16 14:24:45 -07:00
parent 40791abd6b
commit 2680b3158e

View file

@ -36,7 +36,7 @@ static void ControlService(bool start, const std::string& service) {
}
static void ControlDefaultServices(bool start) {
std::vector<std::string> services = {"netd", "surfaceflinger", "zygote"};
std::vector<std::string> services = {"iorapd", "netd", "surfaceflinger", "zygote"};
// Only start zygote_secondary if not single arch.
std::string zygote_configuration = GetProperty("ro.zygote", "");