Allow audioserver for bootanim.
Required for using native audio in BootAnimation
Bug: 29055299
Change-Id: Ie75d35219be95a8dc697cc3c0384a4de90ea3478
diff --git a/bootanim.te b/bootanim.te
index 91a50d5..e18654c 100644
--- a/bootanim.te
+++ b/bootanim.te
@@ -6,6 +6,7 @@
binder_use(bootanim)
binder_call(bootanim, surfaceflinger)
+binder_call(bootanim, audioserver)
allow bootanim gpu_device:chr_file rw_file_perms;
@@ -16,6 +17,7 @@
allow bootanim audio_device:dir r_dir_perms;
allow bootanim audio_device:chr_file rw_file_perms;
+allow bootanim audioserver_service:service_manager find;
allow bootanim surfaceflinger_service:service_manager find;
# Allow access to ion memory allocation device