Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adbd4d6c authored by Tony Wickham's avatar Tony Wickham Committed by Android (Google) Code Review
Browse files

Merge "Send onGestureStarted() when continuing a quick switch gesture" into ub-launcher3-master

parents 51f3759c 28d43c58
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -230,7 +230,6 @@ public class OtherActivityInputConsumer extends ContextWrapper implements InputC
                            mTouchSlop) {
                        mPassedTouchSlop = true;

                        TOUCH_INTERACTION_LOG.addLog("startQuickstep");
                        if (mIsDeferredDownTarget) {
                            // Deferred gesture, start the animation and gesture tracking once
                            // we pass the actual touch slop
@@ -272,6 +271,7 @@ public class OtherActivityInputConsumer extends ContextWrapper implements InputC
    }

    private void notifyGestureStarted() {
        TOUCH_INTERACTION_LOG.addLog("startQuickstep");
        if (mInteractionHandler == null) {
            return;
        }
@@ -310,6 +310,7 @@ public class OtherActivityInputConsumer extends ContextWrapper implements InputC
        if (listenerSet != null) {
            listenerSet.addListener(handler);
            mSwipeSharedState.applyActiveRecentsAnimationState(handler);
            notifyGestureStarted();
        } else {
            RecentsAnimationListenerSet newListenerSet =
                    mSwipeSharedState.newRecentsAnimationListenerSet();