Merge "Don't clear mPattern when clearing visual pattern." into pi-dev

am: 74d7f50597

Change-Id: I37e2d7e65048d4b4f0cf581bab04ea20baf7837b
This commit is contained in:
Vishwath Mohan
2018-03-30 22:11:54 +00:00
committed by android-build-merger

View File

@@ -1000,6 +1000,11 @@ public class LockPatternView extends View {
setPatternInProgress(false);
cancelLineAnimations();
notifyPatternDetected();
// Also clear pattern if fading is enabled
if (mFadePattern) {
clearPatternDrawLookup();
mPatternDisplayMode = DisplayMode.Correct;
}
invalidate();
}
if (PROFILE_DRAWING) {