From ddb52d823f95fed9e28eb116f4f0719944bcc1fa Mon Sep 17 00:00:00 2001 From: Mikhail Naganov Date: Tue, 17 Jan 2017 09:24:56 -0800 Subject: [PATCH] hal_audio: In binderized mode hal_audio needs access to IAllocator This is to ensure that hal_audio can access memory shared by audioserver. Bug: 34261005 Change-Id: I84103b0d4692fd10afc56846fb116fec6a7b3dc7 --- public/hal_audio.te | 1 + 1 file changed, 1 insertion(+) diff --git a/public/hal_audio.te b/public/hal_audio.te index ca8fe523f..2dcbeb874 100644 --- a/public/hal_audio.te +++ b/public/hal_audio.te @@ -2,6 +2,7 @@ hwbinder_use(hal_audio) binder_use(hal_audio) binder_call(hal_audio, audioserver) binder_call(hal_audio, system_server) +hwallocator_use(hal_audio) allow hal_audio ion_device:chr_file r_file_perms;