From 804838530e00ab13f70d09480e9e20d3878788f1 Mon Sep 17 00:00:00 2001 From: Mikhail Naganov <mnaganov@google.com> Date: Wed, 18 Oct 2017 20:28:33 +0000 Subject: [PATCH] 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 --- public/hal_audio.te | 1 + 1 file changed, 1 insertion(+) diff --git a/public/hal_audio.te b/public/hal_audio.te index c5a6b9d2f..6a436bd8e 100644 --- a/public/hal_audio.te +++ b/public/hal_audio.te @@ -13,6 +13,7 @@ userdebug_or_eng(` 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; -- GitLab