From 2210767054bf1a6f2e506ed6a5e93823ff78876c Mon Sep 17 00:00:00 2001 From: shubang Date: Mon, 8 Feb 2021 17:49:46 -0800 Subject: [PATCH] Add SE policy for media_metrics Test: CTS; Change-Id: Ib9382f2513d8fd0e6812d0157c710d0ad5817231 --- private/compat/30.0/30.0.ignore.cil | 1 + private/service_contexts | 1 + public/service.te | 1 + 3 files changed, 3 insertions(+) diff --git a/private/compat/30.0/30.0.ignore.cil b/private/compat/30.0/30.0.ignore.cil index 3eace9509..ec121e72c 100644 --- a/private/compat/30.0/30.0.ignore.cil +++ b/private/compat/30.0/30.0.ignore.cil @@ -54,6 +54,7 @@ legacy_permission_service location_time_zone_manager_service media_communication_service + media_metrics_service mediatuner_exec mediatuner_service mediatuner diff --git a/private/service_contexts b/private/service_contexts index 502403c04..ace9a3afe 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -164,6 +164,7 @@ media.sound_trigger_hw u:object_r:audioserver_service:s0 media.drm u:object_r:mediadrmserver_service:s0 media.tuner u:object_r:mediatuner_service:s0 media_communication u:object_r:media_communication_service:s0 +media_metrics u:object_r:media_metrics_service:s0 media_projection u:object_r:media_projection_service:s0 media_resource_monitor u:object_r:media_session_service:s0 media_router u:object_r:media_router_service:s0 diff --git a/public/service.te b/public/service.te index aea1b7c99..053cebfde 100644 --- a/public/service.te +++ b/public/service.te @@ -136,6 +136,7 @@ type location_time_zone_manager_service, system_server_service, service_manager_ type lock_settings_service, system_api_service, system_server_service, service_manager_type; type looper_stats_service, system_server_service, service_manager_type; type media_communication_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; +type media_metrics_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type media_projection_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type media_router_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type media_session_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;