diff --git a/public/hal_audio.te b/public/hal_audio.te index aabc884f8..237ffcd7c 100644 --- a/public/hal_audio.te +++ b/public/hal_audio.te @@ -22,6 +22,8 @@ allow hal_audio dumpstate:fifo_file write; # Needed to allow sound trigger hal to access shared memory from apps. allow hal_audio_server appdomain:fd use; +# Allow sound trigger hal to access shared memory from system server. +allow hal_audio_server system_server_tmpfs:file { getattr map read }; # allow self to set scheduler (and allows Binder RT PI) allow hal_audio_server self:global_capability_class_set sys_nice;