From 9eb3b8ffdff50dea69ddf7e0a8f0db50a33fc5eb Mon Sep 17 00:00:00 2001 From: Dario Freni <dariofreni@google.com> Date: Mon, 24 Dec 2018 15:06:04 +0000 Subject: [PATCH] Add StagingManager service. Adding a new high-level service which will handle staged installs, i.e. installs that require a reboot. Bug: 118865310 Test: An initial implementation of StagingManager can be reached successfully by PackageManagerService and PackageInstallerService. Change-Id: I8859b463575f8ee85caae43570958347b82f967e --- private/compat/28.0/28.0.ignore.cil | 1 + private/service_contexts | 1 + public/service.te | 1 + 3 files changed, 3 insertions(+) diff --git a/private/compat/28.0/28.0.ignore.cil b/private/compat/28.0/28.0.ignore.cil index 9df4f120d..985bff392 100644 --- a/private/compat/28.0/28.0.ignore.cil +++ b/private/compat/28.0/28.0.ignore.cil @@ -74,6 +74,7 @@ rss_hwm_reset_exec runtime_service sensor_privacy_service + staging_service super_block_device system_lmk_prop system_suspend_hwservice diff --git a/private/service_contexts b/private/service_contexts index 51980ad76..3178e2c4c 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -166,6 +166,7 @@ simphonebook2 u:object_r:radio_service:s0 simphonebook u:object_r:radio_service:s0 sip u:object_r:radio_service:s0 slice u:object_r:slice_service:s0 +staging u:object_r:staging_service:s0 stats u:object_r:stats_service:s0 statscompanion u:object_r:statscompanion_service:s0 soundtrigger u:object_r:voiceinteraction_service:s0 diff --git a/public/service.te b/public/service.te index cc1bc9f33..864426832 100644 --- a/public/service.te +++ b/public/service.te @@ -151,6 +151,7 @@ type servicediscovery_service, app_api_service, ephemeral_app_api_service, syste type settings_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type shortcut_service, app_api_service, system_server_service, service_manager_type; type slice_service, app_api_service, system_server_service, service_manager_type; +type staging_service, system_server_service, service_manager_type; type statusbar_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type storagestats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type system_update_service, system_server_service, service_manager_type; -- GitLab