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

Commit e0c5f5d0 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Fixing jump when swiping up because startDisplacement was getting reset in the middle

Change-Id: I6b8be9505ec2bd22bbc76efe81b6f00231645267
parent 989732be
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -397,8 +397,10 @@ public class OtherActivityTouchConsumer extends ContextWrapper implements TouchC
            // touch slop
            startTouchTrackingForWindowAnimation(ev.getEventTime());
        }
        if (!mPassedInitialSlop) {
            mPassedInitialSlop = true;
            mStartDisplacement = getDisplacement(ev);
        }
        notifyGestureStarted();
    }