Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b27ef20 authored by Erin Yan's avatar Erin Yan
Browse files

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
parent 459f6115
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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" />
+3 −0
Original line number Diff line number Diff line
@@ -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" />