Merge "Fix 3444669: Fix message string for max password length"

This commit is contained in:
Jim Miller
2011-02-14 18:23:44 -08:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -274,7 +274,7 @@ public class ChooseLockPassword extends PreferenceActivity {
if (password.length() > mPasswordMaxLength) {
return getString(mIsAlphaMode ?
R.string.lockpassword_password_too_long
: R.string.lockpassword_pin_too_long, mPasswordMaxLength);
: R.string.lockpassword_pin_too_long, mPasswordMaxLength + 1);
}
int letters = 0;
int numbers = 0;