diff options
author | Vince Leung <leungv@google.com> | 2021-05-17 23:30:03 -0700 |
---|---|---|
committer | Vince Leung <leungv@google.com> | 2021-05-17 23:30:03 -0700 |
commit | 5773233d87d21807ae73243984c90d46006ac73a (patch) | |
tree | 1ba540ce1ff663f8490353c52e9074af82708990 /vibrator | |
parent | a883cba76335d926124aaf6a00fbe0d29cec8081 (diff) | |
download | pixel-sepolicy-5773233d87d21807ae73243984c90d46006ac73a.tar.gz |
vibrator: cs40l25: allow audio_device dir search
Add policies to allow vibrator HAL to search on audio_device dir.
Bug: 178431048
Test: manually verify audio-coupled-haptics is working for Pixel
ringtones on P21 devices
Change-Id: If9e8833dcbe50024587347abbea3bbb978a08a76
Diffstat (limited to 'vibrator')
-rw-r--r-- | vibrator/cs40l25/hal_vibrator_default.te | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vibrator/cs40l25/hal_vibrator_default.te b/vibrator/cs40l25/hal_vibrator_default.te index d5992b9..219a6b1 100644 --- a/vibrator/cs40l25/hal_vibrator_default.te +++ b/vibrator/cs40l25/hal_vibrator_default.te @@ -5,6 +5,7 @@ allow hal_vibrator_default persist_file:dir search; allow hal_vibrator_default vibrator_snd_device:chr_file rw_file_perms; allow hal_vibrator_default vibrator_snd_device:dir search; +allow hal_vibrator_default audio_device:dir search; allow hal_vibrator_default proc_asound:dir search; allow hal_vibrator_default proc_asound:file r_file_perms; |