Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 585c09b7 authored by Andrew Zeng's avatar Andrew Zeng Committed by Android (Google) Code Review
Browse files

Merge "Use MIN_LOCK_PASSWORD_SIZE as min password length."

parents 016a8d47 233d88a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.