Merge "sepolicy: allow AAudio apps to use FDs from the audio HAL" into oc-dev
am: b9d5d20790
Change-Id: I521150942c9f654ad038b7b74070b35a47370300
diff --git a/private/app.te b/private/app.te
index d44cc88..d6d407a 100644
--- a/private/app.te
+++ b/private/app.te
@@ -282,6 +282,9 @@
# Allow app access to mediacodec (IOMX HAL)
binder_call({ appdomain -isolated_app }, mediacodec)
+# Allow AAudio apps to use shared memory file descriptors from the HAL
+allow { appdomain -isolated_app } hal_audio:fd use;
+
# Allow app to access shared memory created by camera HAL1
allow { appdomain -isolated_app } hal_camera:fd use;