From c6effa9014784485f26702378087228bb29a33cb Mon Sep 17 00:00:00 2001 From: Eric Laurent <elaurent@google.com> Date: Fri, 23 Sep 2016 14:20:16 -0700 Subject: [PATCH] DO NOT MERGE - fix truncated boot sound. Allow bootanim process to access audioserver service. Bug: 31651778 Change-Id: I5bec8812877792b1df3b37dddc5ccea3b243f5c4 --- bootanim.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootanim.te b/bootanim.te index 91a50d5d1..ae25c32ff 100644 --- a/bootanim.te +++ b/bootanim.te @@ -6,6 +6,7 @@ init_daemon_domain(bootanim) binder_use(bootanim) binder_call(bootanim, surfaceflinger) +binder_call(bootanim, audioserver) allow bootanim gpu_device:chr_file rw_file_perms; @@ -17,6 +18,7 @@ allow bootanim audio_device:dir r_dir_perms; allow bootanim audio_device:chr_file rw_file_perms; allow bootanim surfaceflinger_service:service_manager find; +allow bootanim audioserver_service:service_manager find; # Allow access to ion memory allocation device allow bootanim ion_device:chr_file rw_file_perms; -- GitLab