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

Commit d1108f24 authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Send ACTION_POINTER_UP if there is an exception

Test: presubmit
Flag: N/A
Bug: 187761685
Change-Id: Ica5fec6e5732383aed764682619453b2b3fac113
parent 5a1c8862
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);
        }
    }