summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2014-01-25 21:51:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-01-25 21:51:34 +0000
commitd1eeb6747820f549ec724546a84e3860b4580587 (patch)
tree0ba0aa77f4ee7a3e2622b84a78783f427145e645 /packages
parent3c30eff63fb33901df4e040ecce78f7755be588f (diff)
parentb8b7bd3185d5cf6c266ee40e74b515f526e18761 (diff)
downloadframeworks_base-d1eeb6747820f549ec724546a84e3860b4580587.zip
frameworks_base-d1eeb6747820f549ec724546a84e3860b4580587.tar.gz
frameworks_base-d1eeb6747820f549ec724546a84e3860b4580587.tar.bz2
Merge "Telephony: Modify code to check that PUK code length is always 8."
Diffstat (limited to 'packages')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardSimPukView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPukView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPukView.java
index 6e9e83e..d882eca 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPukView.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPukView.java
@@ -274,7 +274,7 @@ public class KeyguardSimPukView extends KeyguardAbsKeyInputView
private boolean checkPuk() {
// make sure the puk is at least 8 digits long.
- if (mPasswordEntry.getText().length() >= 8) {
+ if (mPasswordEntry.getText().length() == 8) {
mPukText = mPasswordEntry.getText().toString();
return true;
}