From 247e0fa8cf8fc581fb5fc8c44f17f726552b4781 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Wed, 30 May 2018 16:47:21 -0700 Subject: sdm660-common: sepolicy: camera hal is hal_graphics_allocator_client Before it had permissions to use hal_graphics_allocator_hwservice, but it didn't declare itself to be an allocator_client. Bug: 80319537 Test: boot + sanity Change-Id: I93a23cd3db270491e82b378507f3cb55063561e8 --- sepolicy/vendor/hal_camera_default.te | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sepolicy/vendor') diff --git a/sepolicy/vendor/hal_camera_default.te b/sepolicy/vendor/hal_camera_default.te index eb5e65f..a758083 100644 --- a/sepolicy/vendor/hal_camera_default.te +++ b/sepolicy/vendor/hal_camera_default.te @@ -1,6 +1,4 @@ hal_client_domain(hal_camera_default, hal_configstore) -binder_call(hal_camera_default, hal_graphics_allocator_default) - -allow hal_camera_default hal_graphics_allocator_hwservice:hwservice_manager find; +hal_client_domain(hal_camera_default, hal_graphics_allocator) allow hal_camera_default sysfs_kgsl:file r_file_perms; -- cgit v1.2.3