Allow audioserver to access sensorservice

This is required for accessing sensor data in audioserver.

Bug: 188502620
Test: log-based verification of sensor data coming through.
Change-Id: I183ce5106401ae7853096e80a8650cc7919e6221
This commit is contained in:
Ytai Ben-Tsvi 2021-08-20 09:36:22 -07:00
parent 6f3b5e2edc
commit c71b2c18cc

View file

@ -4,3 +4,7 @@ type audioserver_tmpfs, file_type;
# Allow audioserver to signal audio HAL processes and dump their stacks.
allow audioserver hal_audio_server:process signal;
# Allow audioserver to access sensorservice.
allow audioserver sensorservice_service:service_manager find;
allow audioserver system_server:unix_stream_socket { read write };