Skip to content

Commit

Permalink
start: Toggle iorapd on/off when using 'start' command (by itself)
Browse files Browse the repository at this point in the history
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

Former-commit-id: 2680b3158ed7bbabde00e538e2f2ea8231cd5dbe
  • Loading branch information
iam committed Apr 16, 2020
1 parent c584c08 commit 6c1647f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolbox/start.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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", "");
Expand Down

0 comments on commit 6c1647f

Please sign in to comment.