summaryrefslogtreecommitdiff
path: root/toolbox/start.cpp
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2020-04-16 14:24:45 -0700
committerIgor Murashkin <iam@google.com>2020-04-16 14:24:45 -0700
commit2680b3158ed7bbabde00e538e2f2ea8231cd5dbe (patch)
treec7c21a96ef5c316507c07ff9c7445b9c6ac03b16 /toolbox/start.cpp
parent40791abd6b7e8ae0ccdb1db818e92dd93ba9c4b0 (diff)
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
Diffstat (limited to 'toolbox/start.cpp')
-rw-r--r--toolbox/start.cpp2
1 files changed, 1 insertions, 1 deletions
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<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", "");