diff options
| author | 2023-11-21 16:37:28 +0000 | |
|---|---|---|
| committer | 2023-12-01 22:03:52 +0000 | |
| commit | f08b6c69fdd239849c753145909d497e9ab703a4 (patch) | |
| tree | 2aafcf83ee0cba0dca6032d4a599360b8028c6aa | |
| parent | a78d3af8f5922eefa842a3b10885ae7ae20dfef5 (diff) | |
Grant SHOW_CUSTOMIZED_RESOLVER permission to Shell
(This is needed to be able to exercise the new API in a CTS test.)
Test: (see other CLs in this topic)
Bug: 268089816
Change-Id: I63de51fbb837071fbf99b8bdc9135bcfb3b12b52
| -rw-r--r-- | data/etc/privapp-permissions-platform.xml | 2 | ||||
| -rw-r--r-- | packages/Shell/AndroidManifest.xml | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 1f08955e5f58..3cf28c919f07 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -383,6 +383,8 @@ applications that come with the platform <!-- Permission required for ShortcutManagerUsageTest CTS test. --> <permission name="android.permission.ACCESS_SHORTCUTS"/> <permission name="android.permission.REBOOT"/> + <!-- Permission required for NfcResolverActivity CTS tests. --> + <permission name="android.permission.SHOW_CUSTOMIZED_RESOLVER"/> <!-- Permission required for access VIBRATOR_STATE. --> <permission name="android.permission.ACCESS_VIBRATOR_STATE"/> <!-- Permission required for UsageStatsTest CTS test. --> diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 650319fd58f9..b6a0c7bafa44 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -442,6 +442,9 @@ <uses-permission android:name="android.permission.MANAGE_NOTIFICATIONS" /> <uses-permission android:name="android.permission.ACCESS_LOCUS_ID_USAGE_STATS" /> + <!-- Permission required for CTS test - CtsNfcResolverDerviceTest --> + <uses-permission android:name="android.permission.SHOW_CUSTOMIZED_RESOLVER" /> + <!-- Permission needed for CTS test - MusicRecognitionManagerTest --> <uses-permission android:name="android.permission.MANAGE_MUSIC_RECOGNITION" /> |