summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard
diff options
context:
space:
mode:
authorUmashankar Godachi <umasha@codeaurora.org>2016-05-19 14:16:44 -0700
committerAdnan Begovic <adnan@cyngn.com>2016-05-19 14:23:58 -0700
commit52df681309b07d58b10fe58170bfd6df44ac8ca0 (patch)
tree2db3bd627c827ca182132a1c0e2a3b122f7bd115 /packages/Keyguard
parent7d60f88faeeb60800b86690e3bf024d2d5a7f6fc (diff)
downloadframeworks_base-52df681309b07d58b10fe58170bfd6df44ac8ca0.zip
frameworks_base-52df681309b07d58b10fe58170bfd6df44ac8ca0.tar.gz
frameworks_base-52df681309b07d58b10fe58170bfd6df44ac8ca0.tar.bz2
MSIM: Fix to resolve SIM PIN unlock in APM.
In MSIM case, with two sims being locked on pin, the second sim pin unlock screen does not get closed even with the correct password.This is due to the showDefaultMessage flag not being set to true after sim pin is verified successfully. Fix: In KeyGuardSimPinView, set the showDefaultMessage flag to true after SIM PIN is verified successfully. CRs-Fixed: 949288. TICKET: CYNGNOS-2766 Change-Id: Ie31ee9fb009314555c81f3787d0ef3af4aad74c7
Diffstat (limited to 'packages/Keyguard')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
index 4d26adf..8bd1f4f 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
@@ -260,6 +260,7 @@ public class KeyguardSimPinView extends KeyguardPinBasedInputView {
mRemainingAttempts = -1;
KeyguardUpdateMonitor.getInstance(getContext())
.reportSimUnlocked(mSubId);
+ mShowDefaultMessage = true;
if (mCallback != null) {
mCallback.dismiss(true);
}