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

Commit 3857ac4b authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix a bug where a short fling resulted in a bad state

Change-Id: I43900d1cb72a03e2fb2e6cb2dea44bfad9792fcc
parent 2580a976
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -161,6 +161,7 @@ public abstract class PanelView extends FrameLayout {
                mInitialTouchX = x;
                mInitialOffsetOnTouch = mExpandedHeight;
                mTouchSlopExceeded = false;
                mJustPeeked = false;
                if (mVelocityTracker == null) {
                    initVelocityTracker();
                }
@@ -301,6 +302,7 @@ public abstract class PanelView extends FrameLayout {
                mInitialTouchY = y;
                mInitialTouchX = x;
                mTouchSlopExceeded = false;
                mJustPeeked = false;
                initVelocityTracker();
                trackMovement(event);
                break;