From 42882cc86c7af7ec874e3dde0c6fb8280eba627d Mon Sep 17 00:00:00 2001 From: Adam Bookatz Date: Wed, 8 Mar 2023 11:06:17 -0800 Subject: QUERY_USERS is a privileged permission Unlike MANAGE_USERS, the weaker QUERY_USERS was not marked as a privileged permission, making it (ironically) harder to get. To encourage apps for which the weaker permission suffices to use that weaker permission instead, we change it to privileged. Bug: 272303195 Test: builds and boots Test: atest IntentResolverUnitTests (invokes a test app that uses this permission) Change-Id: I289023f3007fe1a06c3ed517c397e5b57068b468 --- core/res/AndroidManifest.xml | 2 +- data/etc/privapp-permissions-platform.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 85d17650289a..09f89001494b 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -3159,7 +3159,7 @@ + android:protectionLevel="signature|privileged|role" /> + -- cgit v1.2.3-59-g8ed1b