diff --git a/public/audioserver.te b/public/audioserver.te index a8a33cc5a..d593567aa 100644 --- a/public/audioserver.te +++ b/public/audioserver.te @@ -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 };