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

Commit 70ae2fe2 authored by Hao Dong's avatar Hao Dong
Browse files

Add placeholder for error dialog dismisses code

This is for error dialog dismissal signal. A placeholder in
BiometricConstants in the framework should be added even though it is
not used, so that AndroidX constants could keep consistent with the
framework. Simlar to BIOMETRIC_ERROR_NEGATIVE_BUTTON.

Bug: 375693808
Test: N/A
Flag: EXEMPT bug fix - add an internal error code

Change-Id: I3c5666784db0635ae4373189e0b3ee2c7c51eacb
parent 6c118a5b
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -187,6 +187,24 @@ public interface BiometricConstants {
     */
    int BIOMETRIC_ERROR_CONTENT_VIEW_MORE_OPTIONS_BUTTON = 22;

    /**
     * The error code returned after lock out error happens, the error dialog shows, and the users
     * dismisses the dialog. This is a placeholder that is currently only used by the support
     * library.
     *
     * @hide
     */
    int BIOMETRIC_ERROR_LOCKOUT_ERROR_DIALOG_DISMISSED = 23;

    /**
     * The error code returned after biometric hardware error happens, the error dialog shows, and
     * the users dismisses the dialog.This is a placeholder that is currently only used by the
     * support library.
     *
     * @hide
     */
    int BIOMETRIC_ERROR_BIOMETRIC_HARDWARE_ERROR_DIALOG_DISMISSED = 24;

    /**
     * This constant is only used by SystemUI. It notifies SystemUI that authentication was paused
     * because the authentication attempt was unsuccessful.
@@ -219,6 +237,8 @@ public interface BiometricConstants {
            BIOMETRIC_ERROR_IDENTITY_CHECK_NOT_ACTIVE,
            BIOMETRIC_ERROR_NOT_ENABLED_FOR_APPS,
            BIOMETRIC_ERROR_CONTENT_VIEW_MORE_OPTIONS_BUTTON,
            BIOMETRIC_ERROR_LOCKOUT_ERROR_DIALOG_DISMISSED,
            BIOMETRIC_ERROR_BIOMETRIC_HARDWARE_ERROR_DIALOG_DISMISSED,
            BIOMETRIC_PAUSED_REJECTED})
    @Retention(RetentionPolicy.SOURCE)
    @interface Errors {}