Create new permission SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS
Created a new permission to allow setting and verifying lock screen credentials. Test: N/A Bug: 182260585 Change-Id: I3cf624f063ba582bc8d3b6aeeb11a46a2ab37636
This commit is contained in:
@@ -35,6 +35,7 @@ package android {
|
||||
field public static final String RECORD_BACKGROUND_AUDIO = "android.permission.RECORD_BACKGROUND_AUDIO";
|
||||
field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS";
|
||||
field public static final String RESET_APP_ERRORS = "android.permission.RESET_APP_ERRORS";
|
||||
field public static final String SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS = "android.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS";
|
||||
field public static final String START_TASKS_FROM_RECENTS = "android.permission.START_TASKS_FROM_RECENTS";
|
||||
field public static final String SUSPEND_APPS = "android.permission.SUSPEND_APPS";
|
||||
field public static final String TEST_BIOMETRIC = "android.permission.TEST_BIOMETRIC";
|
||||
|
||||
@@ -4907,6 +4907,11 @@
|
||||
<permission android:name="android.permission.SET_INITIAL_LOCK"
|
||||
android:protectionLevel="signature|setup"/>
|
||||
|
||||
<!-- @TestApi Allows applications to set and verify lockscreen credentials.
|
||||
@hide -->
|
||||
<permission android:name="android.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS"
|
||||
android:protectionLevel="signature"/>
|
||||
|
||||
<!-- Allows managing (adding, removing) fingerprint templates. Reserved for the system. @hide -->
|
||||
<permission android:name="android.permission.MANAGE_FINGERPRINT"
|
||||
android:protectionLevel="signature|privileged" />
|
||||
|
||||
@@ -238,6 +238,9 @@
|
||||
<!-- Permission needed to run keyguard manager tests in CTS -->
|
||||
<uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" />
|
||||
|
||||
<!-- Permission needed to set/clear/verify lockscreen credentials in CTS tests -->
|
||||
<uses-permission android:name="android.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS" />
|
||||
|
||||
<!-- Permission needed to test wallpaper component -->
|
||||
<uses-permission android:name="android.permission.SET_WALLPAPER" />
|
||||
<uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
|
||||
|
||||
Reference in New Issue
Block a user