summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-01-15 16:40:33 -0800
committerAdnan Begovic <adnan@cyngn.com>2016-01-15 16:40:33 -0800
commitba54dd4e7f08fcc91e53e430b6b30c66fa76dc43 (patch)
treebd8dbb1767750988960ea3bbc17d36cc9657c1ed /packages/Keyguard/src
parentaabd1e4916dabab84085fd32cc14161590b3aaaa (diff)
downloadframeworks_base-ba54dd4e7f08fcc91e53e430b6b30c66fa76dc43.zip
frameworks_base-ba54dd4e7f08fcc91e53e430b6b30c66fa76dc43.tar.gz
frameworks_base-ba54dd4e7f08fcc91e53e430b6b30c66fa76dc43.tar.bz2
Keyguard: Clarify error message on bad input length.
If the input is shorter than the minimum requirement for PUK, then we need to alert the user with a more clarified error rather than simple text. TICKET: SAMBAR-587 Change-Id: I6bcf932b735891d763db54d6ba53ab7b538de720
Diffstat (limited to 'packages/Keyguard/src')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
index 3aa36c8..4d26adf 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
@@ -238,7 +238,7 @@ public class KeyguardSimPinView extends KeyguardPinBasedInputView {
if (entry.length() < 4) {
// otherwise, display a message to the user, and don't submit.
- mSecurityMessageDisplay.setMessage(R.string.kg_invalid_sim_pin_hint, true);
+ mSecurityMessageDisplay.setMessage(R.string.kg_invalid_sim_length, true);
resetPasswordText(true);
mCallback.userActivity();
return;