From 9d8728dbf8dc92cb2ae4167c4ebdf4dfc7fefc5f Mon Sep 17 00:00:00 2001
From: Jeff Vander Stoep <jeffv@google.com>
Date: Wed, 18 Nov 2015 15:38:59 -0800
Subject: [PATCH] grant country_detector_service app_api_service attribute

All apps should have access to the country_detector service.

avc:  denied  { find } for service=country_detector pid=1802 uid=1010002 scontext=u:r:untrusted_app:s0:c522,c768 tcontext=u:object_r:country_detector_service:s0 tclass=service_manager

Bug: 25766732
Change-Id: Ie3f1a801114030dada7ad70c715a62907a2d264f
---
 service.te | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/service.te b/service.te
index 21f1afe0e..15cf349a6 100644
--- a/service.te
+++ b/service.te
@@ -33,7 +33,7 @@ type commontime_management_service, system_server_service, service_manager_type;
 type connectivity_service, app_api_service, system_server_service, service_manager_type;
 type consumer_ir_service, app_api_service, system_server_service, service_manager_type;
 type content_service, app_api_service, system_server_service, service_manager_type;
-type country_detector_service, system_api_service, system_server_service, service_manager_type;
+type country_detector_service, app_api_service, system_server_service, service_manager_type;
 type cpuinfo_service, system_api_service, system_server_service, service_manager_type;
 type dbinfo_service, system_api_service, system_server_service, service_manager_type;
 type device_policy_service, app_api_service, system_server_service, service_manager_type;
-- 
GitLab