From 0a52df50207e6b398278d6faae026ce04eb13602 Mon Sep 17 00:00:00 2001 From: Mike Lockwood <lockwood@google.com> Date: Mon, 29 Sep 2014 06:18:19 -0700 Subject: [PATCH] Give bootanimation access to /dev/snd files so it can use tinyalsa Bug: 17674304 Change-Id: Ide32833809bca8d3ed8ddc898748e25d7a692319 --- bootanim.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootanim.te b/bootanim.te index 4f23659e0..35a4176c5 100644 --- a/bootanim.te +++ b/bootanim.te @@ -12,3 +12,6 @@ allow bootanim gpu_device:chr_file rw_file_perms; # /oem access allow bootanim oemfs:dir search; allow bootanim oemfs:file r_file_perms; + +allow bootanim audio_device:dir r_dir_perms; +allow bootanim audio_device:chr_file rw_file_perms; -- GitLab