Always set mPassedInitialSlop = true in onQuickStep()

This way we always start tracking the window when the system tells
us to, if we're not already.

Change-Id: Id9c1f0d9672f43d877f114839b1489a83ac713ef
This commit is contained in:
Tony Wickham committed 2019-01-10 16:25:25 -08:00
1 parent 238f324ebf
commit 9e94793b24
1 file changed
+2 -2
@@ -383,9 +383,9 @@ public class OtherActivityTouchConsumer extends ContextWrapper implements TouchC
// Deferred gesture, start the animation and gesture tracking once we pass the actual
// touch slop
startTouchTrackingForWindowAnimation(ev.getEventTime());
mPassedInitialSlop = true;
mStartDisplacement = getDisplacement(ev);
}
mPassedInitialSlop = true;
mStartDisplacement = getDisplacement(ev);
notifyGestureStarted();
}