From f933d4545c6c21fe4d1aae82e663345194f4e872 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Mon, 17 Dec 2018 15:39:58 -0800 Subject: [PATCH] Adding policy for content suggestions. Cherry-picked from aosp/852612 (commit Ic0b3f85fad24ccedc0a8e9935c198bc8503bb415), and is a manual merge for ag/5836696 (commit I360ce12f33e333766f6f30614c87811d05e663a4) Bug: 120865921 Test: Manual verification Change-Id: Ic0b3f85fad24ccedc0a8e9935c198bc8503bb415 --- 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 475bd7ed4..42694b424 100644 --- a/private/compat/28.0/28.0.ignore.cil +++ b/private/compat/28.0/28.0.ignore.cil @@ -19,6 +19,7 @@ apexd_tmpfs biometric_service content_capture_service + content_suggestions_service cpu_variant_prop dev_cpu_variant device_config_boot_count_prop diff --git a/private/service_contexts b/private/service_contexts index 72e39ea97..4b2125f03 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -33,6 +33,7 @@ connmetrics u:object_r:connmetrics_service:s0 consumer_ir u:object_r:consumer_ir_service:s0 content u:object_r:content_service:s0 content_capture u:object_r:content_capture_service:s0 +content_suggestions u:object_r:content_suggestions_service:s0 contexthub u:object_r:contexthub_service:s0 country_detector u:object_r:country_detector_service:s0 coverage u:object_r:coverage_service:s0 diff --git a/public/service.te b/public/service.te index 99ee24a6d..79b049bd9 100644 --- a/public/service.te +++ b/public/service.te @@ -65,6 +65,7 @@ type connectivity_service, app_api_service, ephemeral_app_api_service, system_se type connmetrics_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type consumer_ir_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type content_capture_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; +type content_suggestions_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type content_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type country_detector_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; # Note: The coverage_service should only be enabled for userdebug / eng builds that were compiled