Merge "Allow all apps to discover contexthub_service" into nyc-dev
diff --git a/priv_app.te b/priv_app.te
index b2b9e57..5801619 100644
--- a/priv_app.te
+++ b/priv_app.te
@@ -36,7 +36,6 @@
allow priv_app system_api_service:service_manager find;
allow priv_app persistent_data_block_service:service_manager find;
allow priv_app recovery_service:service_manager find;
-allow priv_app contexthub_service:service_manager find;
# Traverse into /mnt/media_rw for bypassing FUSE daemon
# TODO: narrow this to just MediaProvider
diff --git a/service.te b/service.te
index bd6ab38..3cd258b 100644
--- a/service.te
+++ b/service.te
@@ -35,7 +35,7 @@
type bluetooth_manager_service, app_api_service, system_server_service, service_manager_type;
type cameraproxy_service, system_server_service, service_manager_type;
type clipboard_service, app_api_service, system_server_service, service_manager_type;
-type contexthub_service, system_server_service, service_manager_type;
+type contexthub_service, app_api_service, system_server_service, service_manager_type;
type IProxyService_service, app_api_service, system_server_service, service_manager_type;
type commontime_management_service, system_server_service, service_manager_type;
type connectivity_service, app_api_service, system_server_service, service_manager_type;