Camera: allow cameraserver access hal_graphics_allocator
Test: Google camera app snapshot/record/
slow motion recording
Bug: 36383997
Change-Id: I565fb441aec529464474e0dd0e01dbfe0b167c82
diff --git a/public/cameraserver.te b/public/cameraserver.te
index f2364a7..a75524d 100644
--- a/public/cameraserver.te
+++ b/public/cameraserver.te
@@ -5,9 +5,11 @@
binder_use(cameraserver)
binder_call(cameraserver, binderservicedomain)
binder_call(cameraserver, appdomain)
+binder_call(cameraserver, hal_graphics_allocator)
binder_service(cameraserver)
hal_client_domain(cameraserver, hal_camera)
+hal_client_domain(cameraserver, hal_graphics_allocator)
allow cameraserver ion_device:chr_file rw_file_perms;