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

This commit is contained in:
TreeHugger Robot
2018-03-30 20:00:22 +00:00
committed by Android (Google) Code Review

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) {