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

Commit 4dc58c9d authored by Sebastián Franco's avatar Sebastián Franco Committed by Android (Google) Code Review
Browse files

Merge "Send ACTION_POINTER_UP if there is an exception" into main

parents 4b75bca8 d1108f24
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1771,6 +1771,7 @@ public final class LauncherInstrumentation {
            }
            endTime = movePointer(
                    start, end, steps, false, downTime, downTime, slowDown, gestureScope);
        } finally {
            if (mTrackpadGestureType != TrackpadGestureType.NONE) {
                for (int i = mPointerCount; i >= 2; i--) {
                    sendPointer(downTime, downTime,
@@ -1778,7 +1779,6 @@ public final class LauncherInstrumentation {
                            start, gestureScope);
                }
            }
        } finally {
            sendPointer(downTime, endTime, MotionEvent.ACTION_UP, end, gestureScope);
        }
    }