From ad5b4be399f18c4755c0d469aab2aacd4de68df6 Mon Sep 17 00:00:00 2001
From: Geoffrey Pitsch <gpitsch@google.com>
Date: Wed, 29 Jun 2016 17:14:34 -0400
Subject: [PATCH] Allow audioserver for bootanim.

Required for using native audio in BootAnimation

Bug: 29055299
Change-Id: Ie75d35219be95a8dc697cc3c0384a4de90ea3478
---
 bootanim.te | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bootanim.te b/bootanim.te
index 91a50d5d1..e18654c2c 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;
 
@@ -16,6 +17,7 @@ allow bootanim oemfs:file r_file_perms;
 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
-- 
GitLab