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

Commit 5e53c192 authored by Harsh Lal's avatar Harsh Lal
Browse files

Add custom permission to launch credential selector activity

Bug: 265039348
Fix: 265039348
Test: local deployment
Change-Id: I087b844c53ed97e9d50f8ad37c40304ec0fcb9a2
parent 09fed2c2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4045,6 +4045,11 @@
    <permission android:name="android.permission.CREDENTIAL_MANAGER_SET_ORIGIN"
        android:protectionLevel="normal" />

    <!-- Allows permission to use Credential Manager UI for providing and saving credentials
         @hide -->
    <permission android:name="android.permission.LAUNCH_CREDENTIAL_SELECTOR"
        android:protectionLevel="signature" />

    <!-- Allows an application to be able to store and retrieve credentials from a remote
         device.
         @hide @SystemApi -->
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
    <activity
        android:name=".CredentialSelectorActivity"
        android:exported="true"
        android:permission="android.permission.LAUNCH_CREDENTIAL_SELECTOR"
        android:launchMode="singleTop"
        android:label="@string/app_name"
        android:excludeFromRecents="true"