OSDN Git Service

Do not re-show hint text if user is already authenticated
authorKevin Chyn <kchyn@google.com>
Wed, 24 Apr 2019 18:47:38 +0000 (11:47 -0700)
committerKevin Chyn <kchyn@google.com>
Wed, 24 Apr 2019 18:47:38 +0000 (11:47 -0700)
Fixes: 131237337

Test: manual
Change-Id: I1b96f9a7933e82fcb540c5aa4feb82d6fc22dd11

packages/SystemUI/src/com/android/systemui/biometrics/BiometricDialogView.java

index 39e0dff..30c97d7 100644 (file)
@@ -408,6 +408,7 @@ public abstract class BiometricDialogView extends LinearLayout {
 
     public void showConfirmationButton(boolean show) {
         if (show) {
+            mHandler.removeMessages(MSG_CLEAR_MESSAGE);
             updateState(STATE_PENDING_CONFIRMATION);
             mPositiveButton.setVisibility(View.VISIBLE);
         } else {