Add sepolicy for app hibernation system service

Add selinux policy so the app hibernation system service can be accessed
by other processes/apps.

Bug: 175829330
Test: builds
Change-Id: I96ea9dd977ec007bc11560601554547749b4df03
This commit is contained in:
Kevin Han 2021-01-21 12:37:40 -08:00
parent e0bab54ba6
commit 4cead73a86
3 changed files with 3 additions and 0 deletions

View file

@ -9,6 +9,7 @@
adbd_config_prop
apc_service
apex_info_file
app_hibernation_service
arm64_memtag_prop
cgroup_desc_api_file
cgroup_v2

View file

@ -31,6 +31,7 @@ android.security.keystore u:object_r:keystore_service:s0
android.service.gatekeeper.IGateKeeperService u:object_r:gatekeeper_service:s0
android.system.keystore2 u:object_r:keystore_service:s0
app_binding u:object_r:app_binding_service:s0
app_hibernation u:object_r:app_hibernation_service:s0
app_integrity u:object_r:app_integrity_service:s0
app_prediction u:object_r:app_prediction_service:s0
app_search u:object_r:app_search_service:s0

View file

@ -50,6 +50,7 @@ type activity_task_service, app_api_service, ephemeral_app_api_service, system_s
type adb_service, system_api_service, system_server_service, service_manager_type;
type alarm_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type app_binding_service, system_server_service, service_manager_type;
type app_hibernation_service, system_api_service, system_server_service, service_manager_type;
type app_integrity_service, system_api_service, system_server_service, service_manager_type;
type app_prediction_service, app_api_service, system_server_service, service_manager_type;
type app_search_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;