summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorKholoud Mohamed <kholoudm@google.com>2021-01-28 15:07:18 +0000
committerkholoud mohamed <kholoudm@google.com>2021-02-04 23:03:52 +0000
commit19b39a8fc320fdbc95f88a7382fc6c4b7fb09be2 (patch)
tree222f4f6960a535412337a17a813dcf9cf10052ec /data
parent5f36d6f70a5cfeb598647757f9a16c6e6b50daa5 (diff)
Grant shell QUERY_USERS and MODIFY_QUIET_MODE
Added a new permission QUERY_USERS, granted the new permission and MODIFY_USERS to shell. These permissions are required to enable CTS tests to access the following APIs: * UserManager#getUsers and any other API that depend on it * UserManager#getProfileParent * UserManager#requestQuietModeEnabled Test: Confirmed that a CTS test can call these APIs Bug: 178695365 Merged-In: Ifa14d24ee1873161e3986e8d0669fd47a7bcaa7a Change-Id: Ifa14d24ee1873161e3986e8d0669fd47a7bcaa7a
Diffstat (limited to 'data')
-rw-r--r--data/etc/privapp-permissions-platform.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml
index a664ee3a6d19..e6ab5c4aaf98 100644
--- a/data/etc/privapp-permissions-platform.xml
+++ b/data/etc/privapp-permissions-platform.xml
@@ -446,6 +446,7 @@ applications that come with the platform
<!-- Permission required for GTS test - GtsAssistIntentTestCases -->
<permission name="android.permission.MANAGE_SOUND_TRIGGER" />
<permission name="android.permission.CAPTURE_AUDIO_HOTWORD" />
+ <permission name="android.permission.MODIFY_QUIET_MODE" />
</privapp-permissions>
<privapp-permissions package="com.android.statementservice">