am 02122f6a: am fb171c21: am 27c13e5d: Merge "[ConfirmCredential] fix issue where patterns of length 4 are not checked" into mnc-dev

* commit '02122f6ab3825c14b0b47f82b76200083a5908ae':
  [ConfirmCredential] fix issue where patterns of length 4 are not checked
This commit is contained in:
Andres Morales
2015-05-27 21:49:11 +00:00
committed by Android Git Automerger

View File

@@ -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;
}