Merge "Use MIN_LOCK_PASSWORD_SIZE as min password length."

This commit is contained in:
Andrew Zeng
2017-04-07 00:52:01 +00:00
committed by Android (Google) Code Review

View File

@@ -888,7 +888,7 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
mPasswordEntry.setEnabled(false);
setBackFunctionality(false);
if (password.length() >= LockPatternUtils.MIN_LOCK_PATTERN_SIZE) {
if (password.length() >= LockPatternUtils.MIN_LOCK_PASSWORD_SIZE) {
new DecryptTask().execute(password);
} else {
// Allow user to make as many of these as they want.