diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java index 1d10b57..4c08bb7 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java @@ -315,6 +315,8 @@ public class KeyguardSimPinView extends KeyguardPinBasedInputView { mSecurityMessageDisplay.setMessage(getPinPasswordErrorMessage( mRemainingAttempts, true), true); return; + } else { + mSecurityMessageDisplay.setMessage(R.string.kg_sim_pin_instructions, true); } int count = TelephonyManager.getDefault().getSimCount(); @@ -334,17 +336,6 @@ public class KeyguardSimPinView extends KeyguardPinBasedInputView { mSecurityMessageDisplay.setMessage(msg, true); mSimImageView.setImageTintList(ColorStateList.valueOf(color)); - new CheckSimPin("", mSubId) { - void onSimCheckResponse(final int result, final int attemptsRemaining) { - Log.d(LOG_TAG, "onSimCheckResponse " + " dummy One result" + result + - " attemptsRemaining=" + attemptsRemaining); - if (attemptsRemaining >= 0) { - mRemainingAttempts = attemptsRemaining; - mSecurityMessageDisplay.setMessage( - getPinPasswordErrorMessage(attemptsRemaining, true), true); - } - } - }.start(); } } |