summaryrefslogtreecommitdiffstats
path: root/sepolicy
diff options
context:
space:
mode:
authorLuis Vidal <lvidal@cyngn.com>2016-03-21 10:18:29 -0700
committerLuis Vidal <lvidal@cyngn.com>2016-03-31 17:42:56 -0700
commit6d61d301e54ff0270ca211e8c9a2f297d0f0831c (patch)
tree6111070627b1d70ac8591c3330538ed087d2533b /sepolicy
parent0ce9abc69d20272a8abe55d01a1e951234cec04f (diff)
downloadvendor_replicant-6d61d301e54ff0270ca211e8c9a2f297d0f0831c.zip
vendor_replicant-6d61d301e54ff0270ca211e8c9a2f297d0f0831c.tar.gz
vendor_replicant-6d61d301e54ff0270ca211e8c9a2f297d0f0831c.tar.bz2
Add Weather Content Provider [3/5]
Introduce the weather system feature, which will be used to identify if the Weather Content Provider/Weather services are available in the device. Add SELinux entries for the cmweather service Change-Id: Ibe862903095276f87f23c0d7dae54733eeeb5638
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/service.te1
-rw-r--r--sepolicy/service_contexts3
2 files changed, 3 insertions, 1 deletions
diff --git a/sepolicy/service.te b/sepolicy/service.te
index e3c6abb..dced33f 100644
--- a/sepolicy/service.te
+++ b/sepolicy/service.te
@@ -12,3 +12,4 @@ type cm_performance_service, system_api_service, system_server_service, service_
type cm_themes_service, system_api_service, system_server_service, service_manager_type;
type cm_iconcache_service, system_api_service, system_server_service, service_manager_type;
type cm_livelockscreen_service, system_api_service, system_server_service, service_manager_type;
+type cm_weather_service, system_api_service, system_server_service, service_manager_type;
diff --git a/sepolicy/service_contexts b/sepolicy/service_contexts
index 6097f9e..583d763 100644
--- a/sepolicy/service_contexts
+++ b/sepolicy/service_contexts
@@ -11,4 +11,5 @@ cmappsuggest u:object_r:cm_app_suggest_service:s0
cmperformance u:object_r:cm_performance_service:s0
cmthemes u:object_r:cm_themes_service:s0
cmiconcache u:object_r:cm_iconcache_service:s0
-cmlivelockscreen u:object_r:cm_livelockscreen_service:s0 \ No newline at end of file
+cmlivelockscreen u:object_r:cm_livelockscreen_service:s0
+cmweather u:object_r:cm_weather_service:s0