From 57ab001530bb277dc0f07dc34c4c593ccf7650c6 Mon Sep 17 00:00:00 2001
From: Alex Klyubin <klyubin@google.com>
Date: Tue, 21 Mar 2017 12:39:13 -0700
Subject: [PATCH] Remove unnecessary binder_call from cameraserver

This is a follow-up to 93391686886b2a7cb18ee25c4eeb7684ee6ad12a
which added both
hal_client_domain(cameraserver, hal_graphics_allocator) and
binder_call(cameraserver, hal_graphics_allocator). The latter
binder_call rule is no longer needed because it is automatically
granted by virtue of cameraserver being marked as a client of
Graphics Allocator HAL --
see 49274721b371a5bf76e3ea5a4ae0113b60018fbf.

Test: Take a photo (both HDR and conventional) using Google Camera
Test: Record video using Google Camera
Test: Record slow motion video using Google Camera
Test: No denials to do with cameraserver and hal_graphics_allocator*
Bug: 34170079
Change-Id: If93fe310fa62923b5107a7e78d158f6e4b4d0b3a
---
 public/cameraserver.te | 1 -
 1 file changed, 1 deletion(-)

diff --git a/public/cameraserver.te b/public/cameraserver.te
index a75524d94..d1b55cff0 100644
--- a/public/cameraserver.te
+++ b/public/cameraserver.te
@@ -5,7 +5,6 @@ type cameraserver_exec, exec_type, file_type;
 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)
-- 
GitLab