sepolicy: wifidisplayhalservice: Add permission for proc_audiod

-- wifidisplayhalservice needs permission to read soundcard status

Change-Id: Ie305549e2fcab7a96777eb65dee9dbd295a307ce
This commit is contained in:
Indranil 2019-06-27 13:35:09 +05:30
parent f34af8a292
commit 341f6db776
2 changed files with 6 additions and 0 deletions

View file

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

View file

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