diff options
author | Adnan Begovic <adnan@cyngn.com> | 2016-01-15 16:40:33 -0800 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2016-01-15 16:40:33 -0800 |
commit | ba54dd4e7f08fcc91e53e430b6b30c66fa76dc43 (patch) | |
tree | bd8dbb1767750988960ea3bbc17d36cc9657c1ed /packages/Keyguard/src | |
parent | aabd1e4916dabab84085fd32cc14161590b3aaaa (diff) | |
download | frameworks_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.java | 2 |
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; |