From 9e94793b24664a28aa5cfdcd78166e1b73e3fdbf Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Thu, 10 Jan 2019 15:32:50 -0800 Subject: [PATCH] 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 --- .../src/com/android/quickstep/OtherActivityTouchConsumer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickstep/src/com/android/quickstep/OtherActivityTouchConsumer.java b/quickstep/src/com/android/quickstep/OtherActivityTouchConsumer.java index e27af2aecb..9a9a999611 100644 --- a/quickstep/src/com/android/quickstep/OtherActivityTouchConsumer.java +++ b/quickstep/src/com/android/quickstep/OtherActivityTouchConsumer.java @@ -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(); }