diff options
author | Dave Mankoff <mankoff@google.com> | 2020-09-14 12:20:41 -0400 |
---|---|---|
committer | Dave Mankoff <mankoff@google.com> | 2020-09-16 16:27:56 -0400 |
commit | 4a3d8000168accd9bdc431ddd8599fdd299bbcaa (patch) | |
tree | f0851d4e160ce3cca5f1ff24d4b4fe220703c4af /packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java | |
parent | 720c7c6eff34fd005f130f39f5ab8d63ba8b9ced (diff) |
9/N Clean Up Keyguard Class Structure
KeyguardInputView no longer implements KeyguardSecurityView.
This cl seeks to clean up some of the lingering vestiges from this
large chain of refactors.
I have manually tested none, swipe, pattern, pin, and password views
for successfully unlocking, as well as multiple failed attempts
resulting in temporary lock outs.
Fixes: 166448040
Test: atest SystemUITests && manual
Change-Id: I36275598001184e774677cf2dbb16dec8dc7ab5b
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java index 3c29058e0afc..cc8bf4f2d028 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java @@ -106,7 +106,7 @@ public class KeyguardSimPinViewController @Override public boolean startDisappearAnimation(Runnable finishRunnable) { - return mView.startDisappearAnimation(finishRunnable); + return false; } @Override @@ -137,7 +137,7 @@ public class KeyguardSimPinViewController mMessageAreaController.setMessage( com.android.systemui.R.string.kg_invalid_sim_pin_hint); mView.resetPasswordText(true /* animate */, true /* announce */); - mKeyguardSecurityCallback.userActivity(); + getKeyguardSecurityCallback().userActivity(); return; } @@ -159,7 +159,7 @@ public class KeyguardSimPinViewController mKeyguardUpdateMonitor.reportSimUnlocked(mSubId); mRemainingAttempts = -1; mShowDefaultMessage = true; - mKeyguardSecurityCallback.dismiss( + getKeyguardSecurityCallback().dismiss( true, KeyguardUpdateMonitor.getCurrentUser()); } else { mShowDefaultMessage = false; @@ -186,7 +186,7 @@ public class KeyguardSimPinViewController + " attemptsRemaining=" + result.getAttemptsRemaining()); } } - mKeyguardSecurityCallback.userActivity(); + getKeyguardSecurityCallback().userActivity(); mCheckSimPinThread = null; }); } |