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

Commit 7e47daba authored by Kevin Chyn's avatar Kevin Chyn Committed by android-build-merger
Browse files

Merge "Set the negative button when configuration changes and dialog is restored" into qt-qpr1-dev

am: 42c6f169

Change-Id: I436bbdb7ec1a1cdada77180876c133c1a18c954e
parents ca6ea8ff 42c6f169
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -499,6 +499,8 @@ public abstract class BiometricDialogView extends LinearLayout {
        if (newState == STATE_PENDING_CONFIRMATION || newState == STATE_AUTHENTICATED) {
            mNegativeButton.setText(R.string.cancel);
            mNegativeButton.setContentDescription(getResources().getString(R.string.cancel));
        } else {
            mNegativeButton.setText(mBundle.getCharSequence(BiometricPrompt.KEY_NEGATIVE_TEXT));
        }

        updateIcon(mState, newState);