From 2770feb1b8677da062e7083c0160ee4b3e56b566 Mon Sep 17 00:00:00 2001
From: Jeff Vander Stoep <jeffv@google.com>
Date: Thu, 9 Jun 2016 12:47:05 -0700
Subject: [PATCH] allow radio to find cameraserver_service for video calls

Addresses:
avc: denied  { find } for service=media.camera pid=1589 uid=1001 scontext=u:r:radio:s0 tcontext=u:object_r:cameraserver_service:s0 tclass=service_manager permissive=0

Bug: 29190415
Change-Id: I77c0337500b8ab2f5d7d3d5982c7416fc39b1522
---
 radio.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/radio.te b/radio.te
index 0da43a6d2..c4df1f7d1 100644
--- a/radio.te
+++ b/radio.te
@@ -28,6 +28,7 @@ auditallow radio system_radio_prop:property_service set;
 set_prop(radio, ctl_rildaemon_prop)
 
 allow radio audioserver_service:service_manager find;
+allow radio cameraserver_service:service_manager find;
 allow radio drmserver_service:service_manager find;
 allow radio mediaserver_service:service_manager find;
 allow radio radio_service:service_manager { add find };
-- 
GitLab