From ce3e87c06a4aa987cc8857667077bc76d7e2d81a Mon Sep 17 00:00:00 2001
From: Christine Franks <christyfranks@google.com>
Date: Thu, 27 Sep 2018 14:17:42 -0700
Subject: [PATCH] Add system_api_service to color_display_service

Bug: 111215474
Test: boots
Change-Id: Ib8cabeb64a8b4ec9f592d870bd0af611a2720cc7
---
 private/priv_app.te | 1 -
 public/service.te   | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/private/priv_app.te b/private/priv_app.te
index 341101b13..e12cce765 100644
--- a/private/priv_app.te
+++ b/private/priv_app.te
@@ -24,7 +24,6 @@ allow priv_app { app_data_file privapp_data_file }:file execute;
 allow priv_app app_api_service:service_manager find;
 allow priv_app audioserver_service:service_manager find;
 allow priv_app cameraserver_service:service_manager find;
-allow priv_app color_display_service:service_manager find;
 allow priv_app drmserver_service:service_manager find;
 allow priv_app mediacodec_service:service_manager find;
 allow priv_app mediadrmserver_service:service_manager find;
diff --git a/public/service.te b/public/service.te
index 5e7ca4d9a..7a60ad405 100644
--- a/public/service.te
+++ b/public/service.te
@@ -76,7 +76,7 @@ type device_identifiers_service, app_api_service, ephemeral_app_api_service, sys
 type devicestoragemonitor_service, system_server_service, service_manager_type;
 type diskstats_service, system_api_service, system_server_service, service_manager_type;
 type display_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
-type color_display_service, system_server_service, service_manager_type;
+type color_display_service, system_api_service, system_server_service, service_manager_type;
 type font_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
 type netd_listener_service, system_server_service, service_manager_type;
 type network_watchlist_service, system_server_service, service_manager_type;
-- 
GitLab