From 623ece0386238df061e80eeaaee36a61cf70f124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CAnkita?= Date: Tue, 10 Aug 2021 13:42:43 +0000 Subject: [PATCH] Add selinux changes for Locale Manager Service Test: build and booted device Bug: 194094788 Change-Id: Ic3c1f135985a5003ed07a8da9dbd7a3f8b61ae71 --- private/compat/31.0/31.0.ignore.cil | 1 + private/service_contexts | 1 + public/service.te | 1 + 3 files changed, 3 insertions(+) diff --git a/private/compat/31.0/31.0.ignore.cil b/private/compat/31.0/31.0.ignore.cil index 8010071a5..45b2600d1 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 0ab9f53c7..e81091cb6 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -157,6 +157,7 @@ jobscheduler u:object_r:jobscheduler_service:s0 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 52cbf1059..b0539a4e0 100644 --- a/public/service.te +++ b/public/service.te @@ -137,6 +137,7 @@ type jobscheduler_service, app_api_service, ephemeral_app_api_service, system_se 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;