From bc9e070070b02a681a1423b8a8928ff08bb6c45e Mon Sep 17 00:00:00 2001 From: Kathy Chen Date: Wed, 21 Dec 2022 12:40:53 -0800 Subject: [PATCH] Change ACCESS_AMBIENT_CONTEXT_EVENT permission protection level from "internal|role" to "signature|privileged|role". Add ACCESS_AMBIENT_CONTEXT_EVENT to the privapp-permissions allowlist for shell and systemui. Bug: 194238130 Test: build in master and flash to device Change-Id: I439e337515632b43f4c20d2fe4d1274b347a0bb1 --- core/res/AndroidManifest.xml | 2 +- data/etc/com.android.systemui.xml | 1 + data/etc/privapp-permissions-platform.xml | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 3fdd6c4444c24..81b3af0e0e60e 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -6907,7 +6907,7 @@ @hide --> + android:protectionLevel="signature|privileged|role"/> + +