diff --git a/public/audioserver.te b/public/audioserver.te index 455ab4b75..9f390e704 100644 --- a/public/audioserver.te +++ b/public/audioserver.te @@ -11,6 +11,7 @@ binder_service(audioserver) hwbinder_use(audioserver) binder_call(audioserver, hal_audio) +hwallocator_use(audioserver) r_dir_file(audioserver, proc) allow audioserver ion_device:chr_file r_file_perms; diff --git a/public/te_macros b/public/te_macros index 739b18533..70f0fdf2e 100644 --- a/public/te_macros +++ b/public/te_macros @@ -228,7 +228,7 @@ typeattribute $1 binderservicedomain; define(`hwallocator_use', ` # Call into the allocator hal binder_call($1, hal_allocator); -'') +') ##################################### # wakelock_use(domain)