summaryrefslogtreecommitdiff
path: root/debuggerd/libdebuggerd/utility.cpp
diff options
context:
space:
mode:
authorYtai Ben-Tsvi <ytai@google.com>2020-04-22 10:42:44 -0700
committerYtai Ben-Tsvi <ytai@google.com>2020-04-23 12:01:46 -0700
commit7d6af00acaecb20b79e679e954c3b51735ce1b90 (patch)
treec2763b3ca571570cf49567b63f385025abde9256 /debuggerd/libdebuggerd/utility.cpp
parentefe9defc65b2b0c9f6cf3b329dc161190f8efcf9 (diff)
Control audio HAL services in start/stop
Some system services (e.g. SoundTriggerMiddleware) assume that whenever they start, the audio HAL is in its default (reset) state. init.rc scripts tie the lifetimes of the audio HAL and system processes, but when using stop/start this is not the case, and this may cause spurious crashes in this case. stop/start is apparently being relied on in some test infrastructure, so this change is needed to avoid causing problems for those systems or false detection of problems, which are not actually present in production. Bug: 154029444 Test: Manually verify that the audio HAL is stopped on 'adb shell stop', restarted on 'adb shell start' and that the system boots correctly after. Change-Id: I39878b978b47a169c4fe446c43d7347809d15e06 Merged-In: I39878b978b47a169c4fe446c43d7347809d15e06
Diffstat (limited to 'debuggerd/libdebuggerd/utility.cpp')
0 files changed, 0 insertions, 0 deletions