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

Commit 8cbd65ca authored by Hao Dong's avatar Hao Dong
Browse files

Make SET_BIOMETRIC_DIALOG_LOGO privileged.

Flag: ACONFIG android.hardware.biometrics.custom_biometric_prompt DEVELOPMENT
Bug: 302735104
Test: N/A
Change-Id: I18f607f7a5b7aac9a1761e880928f173f6ca3532
parent 66bf088c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -295,7 +295,7 @@ public class BiometricPrompt implements BiometricAuthenticator, BiometricConstan
         * called.
         *
         * @param view The customized view information.
         * @return This builder.re
         * @return This builder.
         */
        @FlaggedApi(FLAG_CUSTOM_BIOMETRIC_PROMPT)
        @NonNull
+1 −1
Original line number Diff line number Diff line
@@ -6781,7 +6781,7 @@
         @FlaggedApi("android.hardware.biometrics.custom_biometric_prompt")
    -->
    <permission android:name="android.permission.SET_BIOMETRIC_DIALOG_LOGO"
                android:protectionLevel="signature" />
                android:protectionLevel="signature|privileged" />

    <!-- Allows an application to control keyguard.  Only allowed for system processes.
        @hide -->