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

Commit 80ed6012 authored by Adam Cohen's avatar Adam Cohen Committed by android-build-merger
Browse files

Fix issue where Workspace scrolling doesn't work

am: acdde3d7

Change-Id: If949e3368d383b8a7ba1c6c7608af46011f36f73
parents dcff2f18 acdde3d7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -99,7 +99,6 @@ public class WorkspaceTouchListener extends GestureDetector.SimpleOnGestureListe
                handleLongPress = mTempRect.contains((int) ev.getX(), (int) ev.getY());
            }

            cancelLongPress();
            if (handleLongPress) {
                mLongPressState = STATE_REQUESTED;
                mTouchDownPoint.set(ev.getX(), ev.getY());
@@ -148,6 +147,10 @@ public class WorkspaceTouchListener extends GestureDetector.SimpleOnGestureListe
            }
        }

        if (action == ACTION_UP || action == ACTION_CANCEL) {
            cancelLongPress();
        }

        return result;
    }