Merge "[ConfirmCredential] fix issue where patterns of length 4 are not checked" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
27c13e5dc6
@@ -329,7 +329,7 @@ public class ConfirmLockPattern extends ConfirmDeviceCredentialBaseActivity {
|
||||
|
||||
private void startCheckPattern(final List<LockPatternView.Cell> pattern,
|
||||
final Intent intent) {
|
||||
if (pattern.size() <= LockPatternUtils.MIN_PATTERN_REGISTER_FAIL) {
|
||||
if (pattern.size() < LockPatternUtils.MIN_PATTERN_REGISTER_FAIL) {
|
||||
onPatternChecked(pattern, false, intent, 0);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user