From 2680b3158ed7bbabde00e538e2f2ea8231cd5dbe Mon Sep 17 00:00:00 2001 From: Igor Murashkin Date: Thu, 16 Apr 2020 14:24:45 -0700 Subject: [PATCH] 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 --- toolbox/start.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolbox/start.cpp b/toolbox/start.cpp index b87ed15a9..4b1a54d53 100644 --- a/toolbox/start.cpp +++ b/toolbox/start.cpp @@ -36,7 +36,7 @@ static void ControlService(bool start, const std::string& service) { } static void ControlDefaultServices(bool start) { - std::vector services = {"netd", "surfaceflinger", "zygote"}; + std::vector services = {"iorapd", "netd", "surfaceflinger", "zygote"}; // Only start zygote_secondary if not single arch. std::string zygote_configuration = GetProperty("ro.zygote", "");