rosemary: sepolicy: Allow elliptic sensors HAL access audio

* Partially from: 7861ee195d/sepolicy/vendor/hal_sensors_default.te

Change-Id: Id664e4cb80aee1c749c4493cc97fd51aa95b14c0
This commit is contained in:
Matsvei Niaverau
2022-12-27 23:22:25 +00:00
parent 5bad7791f7
commit 8305bf5142

View File

@@ -1,3 +1,12 @@
# Allow access to the HALs
hal_client_domain(hal_sensors_default, hal_audio)
# Allow binder communication with hal_audio_default
binder_call(hal_sensors_default, hal_audio_default)
# Allow hal_sensors_default to find hal_audio_hwservice
allow hal_sensors_default hal_audio_hwservice:hwservice_manager find;
binder_call(hal_sensors_default, mtk_hal_audio)
allow hal_sensors_default m_acc_misc_device:chr_file r_file_perms;