Allow STHAL to read model params from system

Test: Compiles
Bug: 269544793
Change-Id: I3ea576c6ef092b27f602b047497e5c01fe36e057
This commit is contained in:
Atneya Nair 2023-02-16 10:39:26 -08:00
parent b4b757cd83
commit f3096dc93d

View file

@ -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;