From 9a7475c3e25fbf289a4b0aa2cdd456812e8a7a0c Mon Sep 17 00:00:00 2001 From: Jonathan Klee Date: Wed, 23 Feb 2022 11:03:58 +0100 Subject: [PATCH] Revert "Remove unused weather service policy" This reverts commit 44fd376702bfbb8648b5fa63137da576d391deb1. --- common/private/service.te | 1 + common/private/service_contexts | 1 + common/private/untrusted_app.te | 1 + 3 files changed, 3 insertions(+) diff --git a/common/private/service.te b/common/private/service.te index 10d04eb..61a2285 100644 --- a/common/private/service.te +++ b/common/private/service.te @@ -6,3 +6,4 @@ type lineage_livedisplay_service, system_api_service, system_server_service, ser type lineage_performance_service, system_api_service, system_server_service, service_manager_type; type lineage_profile_service, system_api_service, system_server_service, service_manager_type; type lineage_trust_service, system_api_service, system_server_service, service_manager_type; +type lineage_weather_service, system_api_service, system_server_service, service_manager_type; diff --git a/common/private/service_contexts b/common/private/service_contexts index 452a237..a23a5ab 100644 --- a/common/private/service_contexts +++ b/common/private/service_contexts @@ -4,6 +4,7 @@ lineagehardware u:object_r:lineage_hardware_service:s0 lineagelivedisplay u:object_r:lineage_livedisplay_service:s0 lineageperformance u:object_r:lineage_performance_service:s0 lineagetrust u:object_r:lineage_trust_service:s0 +lineageweather u:object_r:lineage_weather_service:s0 profile u:object_r:lineage_profile_service:s0 adbroot_service u:object_r:adbroot_service:s0 diff --git a/common/private/untrusted_app.te b/common/private/untrusted_app.te index 77959f6..39d2b4b 100644 --- a/common/private/untrusted_app.te +++ b/common/private/untrusted_app.te @@ -1 +1,2 @@ allow untrusted_app_all lineage_profile_service:service_manager find; +allow untrusted_app_all lineage_weather_service:service_manager find; -- GitLab