Merge "sepolicy: allow the communication between audio and battery_mitigation hal" into 24D1-dev am: 5a78c395eb

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/26543992

Change-Id: I4aa587059c650eae8afc774380efd60a9dd3cc3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Sam Ou 2024-03-21 11:57:33 +00:00 committed by Automerger Merge Worker
commit 7a5eea3546
2 changed files with 5 additions and 0 deletions

View File

@ -1 +1,4 @@
add_service(hal_audio_default, hal_audio_ext_service)
# Allow audio-hal to register battery_mitigation service
allow hal_audio_default hal_battery_mitigation_service:service_manager find;
binder_call(hal_audio_default, battery_mitigation)

View File

@ -31,3 +31,5 @@ binder_use(battery_mitigation)
wakelock_use(battery_mitigation)
# Allow battery_mitigation to run aidl service
add_service(battery_mitigation, hal_battery_mitigation_service)
# Allow battery_mitigation to run audio mitigation callback
binder_call(battery_mitigation, hal_audio_default)