sepolicy: wifidisplayhalservice: Add permission for proc_audiod
-- wifidisplayhalservice needs permission to read soundcard status Change-Id: Ie305549e2fcab7a96777eb65dee9dbd295a307ce
This commit is contained in:
parent
f34af8a292
commit
341f6db776
2 changed files with 6 additions and 0 deletions
|
@ -77,6 +77,9 @@ allow wifidisplayhalservice_qti proc_net:file r_file_perms;
|
|||
# Add the rule for wfd to access /proc/asound/pcm file
|
||||
r_dir_file(wifidisplayhalservice_qti, proc_asound)
|
||||
|
||||
# Add the rule for wfd to access /proc/asound/card0/state file
|
||||
r_dir_file(wifidisplayhalservice_qti, proc_audiod)
|
||||
|
||||
#Allow hal graphics allocator permissions
|
||||
hal_client_domain(wifidisplayhalservice_qti, hal_graphics_allocator);
|
||||
|
||||
|
|
3
qva/vendor/common/wifidisplayhalservice.te
vendored
3
qva/vendor/common/wifidisplayhalservice.te
vendored
|
@ -77,6 +77,9 @@ allow wifidisplayhalservice_qti proc_net:file r_file_perms;
|
|||
# Add the rule for wfd to access /proc/asound/pcm file
|
||||
r_dir_file(wifidisplayhalservice_qti, proc_asound)
|
||||
|
||||
# Add the rule for wfd to access /proc/asound/card0/state file
|
||||
r_dir_file(wifidisplayhalservice_qti, proc_audiod)
|
||||
|
||||
#Allow hal graphics allocator permissions
|
||||
hal_client_domain(wifidisplayhalservice_qti, hal_graphics_allocator);
|
||||
|
||||
|
|
Loading…
Reference in a new issue