Allow audio HAL to talk to the new AIDL sensorservice
This is being used in libsensorndkbridge now, so permissions are required. Test: m Bug: 205764765 Change-Id: I6b0871bbcdff920d1d9dc9b66ec1236405f90fd8
This commit is contained in:
parent
2a724dd853
commit
a2765f212f
1 changed files with 3 additions and 0 deletions
3
vendor/hal_audio_default.te
vendored
3
vendor/hal_audio_default.te
vendored
|
@ -6,5 +6,8 @@ init_daemon_domain(hal_audio_default)
|
||||||
|
|
||||||
hal_client_domain(hal_audio_default, hal_allocator)
|
hal_client_domain(hal_audio_default, hal_allocator)
|
||||||
|
|
||||||
|
# android.frameworks.sensorservice through libsensorndkbridge
|
||||||
|
allow hal_audio_default fwk_sensor_service:service_manager find;
|
||||||
|
|
||||||
# allow audioserver to call hal_audio dump with its own fd to retrieve status
|
# allow audioserver to call hal_audio dump with its own fd to retrieve status
|
||||||
allow hal_audio_default audioserver:fifo_file write;
|
allow hal_audio_default audioserver:fifo_file write;
|
||||||
|
|
Loading…
Reference in a new issue