Replaces 'oneshot' and 'interface' with 'onrestart restart audioserver'.
This default service should still restart on audioserver restart because audioserver uses 'onrestart restart vendor.audio-hal-2-0' for restarts. Bug: 138114550 Bug: 80227481 Test: for i in {0..100}; do \ adb shell 'ps|grep audio;killall audioserver;ps|grep audio' \ && sleep 2; \ done Test: Ran steps mentioned in http://b/80227481#comment1, device did not get stuck in boot animation. Killing either audioserver or audio-hal caused both to restart (just once) and the device booted correctly after the sleep finished. Change-Id: Ice128b51f79d3a9de22a719e6d897c8dca915e28
Loading
Please register or sign in to comment