sepolicy: Allow hal_audio_default to read audio_device
audio_hw_primary: pcm_open_prepare_helper: cannot open device '/dev/snd/pcmC0D0p': Permission denied Change-Id: I8fb7ec2c269fca6b8bf21aacf521990e9279418d Signed-off-by: DennySPb <dennyspb@gmail.com>
This commit is contained in:
parent
4652cba66e
commit
ec1d9ed563
1 changed files with 3 additions and 0 deletions
3
sepolicy/vendor/hal_audio_default.te
vendored
3
sepolicy/vendor/hal_audio_default.te
vendored
|
@ -7,5 +7,8 @@ binder_call(hal_audio_default, hal_sensors_default)
|
||||||
# Allow hal_audio_default to find hal_sensors_hwservice
|
# Allow hal_audio_default to find hal_sensors_hwservice
|
||||||
allow hal_audio_default hal_sensors_hwservice:hwservice_manager find;
|
allow hal_audio_default hal_sensors_hwservice:hwservice_manager find;
|
||||||
|
|
||||||
|
# Allow hal_audio_default to read audio_device
|
||||||
|
allow hal_audio_default audio_device:dir r_dir_perms;
|
||||||
|
|
||||||
# Allow hal_audio_default to read files in mnt_vendor_file
|
# Allow hal_audio_default to read files in mnt_vendor_file
|
||||||
r_dir_file(hal_audio_default, mnt_vendor_file)
|
r_dir_file(hal_audio_default, mnt_vendor_file)
|
||||||
|
|
Loading…
Reference in a new issue