Add permissions to shell to enable testing

Adding MANAGE_WEAK_ESCROW_TOKEN and to Shell so the API can be called from tests.

Bug: 209632699
Test: Builds, boots. atest WeakEscrowTokenAutoFeatureTest
Ignore-AOSP-First: brand new permissions
Change-Id: If0a157903c605347a5b26625a735433caf27bcb1
This commit is contained in:
Erin Yan
2021-12-06 15:32:50 -08:00
parent 459f61152e
commit 9b27ef20e5
2 changed files with 4 additions and 0 deletions

View File

@@ -388,6 +388,7 @@ applications that come with the platform
<permission name="android.permission.STATUS_BAR_SERVICE"/>
<permission name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL"/>
<permission name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS"/>
<permission name="android.permission.MANAGE_WEAK_ESCROW_TOKEN"/>
<permission name="android.permission.SET_WALLPAPER" />
<permission name="android.permission.SET_WALLPAPER_COMPONENT" />
<permission name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" />

View File

@@ -330,6 +330,9 @@
<!-- Permission needed to run keyguard manager tests in CTS -->
<uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" />
<!-- Permission needed to add/remove weak escrow token in CTS tests -->
<uses-permission android:name="android.permission.MANAGE_WEAK_ESCROW_TOKEN" />
<!-- Permission needed to set/clear/verify lockscreen credentials in CTS tests -->
<uses-permission android:name="android.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS" />