mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 13:35:09 +00:00
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:
9
sepolicy/vendor/hal_sensors_default.te
vendored
9
sepolicy/vendor/hal_sensors_default.te
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user