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

Commit 92ae26dc authored by Hao Dong's avatar Hao Dong Committed by Android (Google) Code Review
Browse files

Merge "Add placeholder for error dialog dismisses code" into main

parents 5ed9b5d5 70ae2fe2
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 {}