Merge "Control audio HAL services in start/stop"
This commit is contained in:
commit
07ccf08af2
1 changed files with 7 additions and 2 deletions
|
@ -36,7 +36,12 @@ 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 = {
|
||||
"netd",
|
||||
"surfaceflinger",
|
||||
"audioserver",
|
||||
"zygote",
|
||||
};
|
||||
|
||||
// Only start zygote_secondary if not single arch.
|
||||
std::string zygote_configuration = GetProperty("ro.zygote", "");
|
||||
|
@ -86,4 +91,4 @@ extern "C" int start_main(int argc, char** argv) {
|
|||
|
||||
extern "C" int stop_main(int argc, char** argv) {
|
||||
return StartStop(argc, argv, false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue