Add selinux changes for Locale Manager Service
Test: build and booted device
Bug: 194094788
Change-Id: Ic3c1f135985a5003ed07a8da9dbd7a3f8b61ae71
diff --git a/private/compat/31.0/31.0.ignore.cil b/private/compat/31.0/31.0.ignore.cil
index 8010071..45b2600 100644
--- a/private/compat/31.0/31.0.ignore.cil
+++ b/private/compat/31.0/31.0.ignore.cil
@@ -13,6 +13,7 @@
hal_system_suspend_service
hal_tv_tuner_service
hal_wifi_hostapd_service
+ locale_service
power_stats_service
snapuserd_prop
snapuserd_proxy_socket
diff --git a/private/service_contexts b/private/service_contexts
index 0ab9f53..e81091c 100644
--- a/private/service_contexts
+++ b/private/service_contexts
@@ -157,6 +157,7 @@
launcherapps u:object_r:launcherapps_service:s0
legacy_permission u:object_r:legacy_permission_service:s0
lights u:object_r:light_service:s0
+locale u:object_r:locale_service:s0
location u:object_r:location_service:s0
location_time_zone_manager u:object_r:location_time_zone_manager_service:s0
lock_settings u:object_r:lock_settings_service:s0
diff --git a/public/service.te b/public/service.te
index 52cbf10..b0539a4 100644
--- a/public/service.te
+++ b/public/service.te
@@ -137,6 +137,7 @@
type launcherapps_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type legacy_permission_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type light_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
+type locale_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type location_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type location_time_zone_manager_service, system_server_service, service_manager_type;
type lock_settings_service, app_api_service, system_api_service, system_server_service, service_manager_type;