Revert "Remove proc access from hal_audio."
Reason: breaks "Ok google". Soundtrigger module needs to access /proc/asound/pcm.
This reverts commit 5cccb249151ce06f9e05ad9abf5a1c362712e212.
Bug: 67930353
Change-Id: I67e0912a6795b3715a3321d3fe5147f49cebc9b5
diff --git a/public/hal_audio.te b/public/hal_audio.te
index c5a6b9d..6a436bd 100644
--- a/public/hal_audio.te
+++ b/public/hal_audio.te
@@ -13,6 +13,7 @@
allow hal_audio audiohal_data_file:file create_file_perms;
')
+r_dir_file(hal_audio, proc)
r_dir_file(hal_audio, proc_asound)
allow hal_audio audio_device:dir r_dir_perms;
allow hal_audio audio_device:chr_file rw_file_perms;