commit | 2c484238d141dfeb695d91dc66121235b61c90ca | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Tue May 08 10:29:04 2018 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Fri May 25 13:02:25 2018 -0700 |
tree | 474ae24c4ea109b917d3e0096bc682d070d8584c | |
parent | d5a5888c60c9fc829faf2fd9e3c89f0d5190f2c7 [diff] [blame] |
audio hal: Add 'interface' declarations for IDeviceFactory into .rc Declaring the interfaces allows HIDL hwservicemanager to start the HAL service in case it has crashed before audioserver has called 'getService'. Bug: 80227481 Test: use the repro case from the bug Change-Id: Ibb46beb714b3985ab373d56d92da1105cfda28c6
diff --git a/audio/common/all-versions/default/service/android.hardware.audio@2.0-service.rc b/audio/common/all-versions/default/service/android.hardware.audio@2.0-service.rc index a76770d..8217b94 100644 --- a/audio/common/all-versions/default/service/android.hardware.audio@2.0-service.rc +++ b/audio/common/all-versions/default/service/android.hardware.audio@2.0-service.rc
@@ -9,3 +9,5 @@ # and its .rc file has an "onrestart restart audio-hal" rule, thus # an additional auto-restart from the init process isn't needed. oneshot + interface android.hardware.audio@4.0::IDevicesFactory default + interface android.hardware.audio@2.0::IDevicesFactory default