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

Commit 28ad3dce authored by Vladislav Kaznacheev's avatar Vladislav Kaznacheev Committed by android-build-merger
Browse files

Merge "Send ACTION_DRAG_EXITED when the pointer moves over a non-touchable...

Merge "Send ACTION_DRAG_EXITED when the pointer moves over a non-touchable window" into nyc-dev am: c8df6aa4
am: 64577d61

* commit '64577d61':
  Send ACTION_DRAG_EXITED when the pointer moves over a non-touchable window

Change-Id: I9a079d761be6e8eb570fd268c13d28b553d16d57
parents d34b7779 64577d61
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -420,12 +420,7 @@ class DragState {
    void notifyLocationLw(float x, float y) {
        // Tell the affected window
        WindowState touchedWin = mDisplayContent.getTouchableWinAtPointLocked(x, y);
        if (touchedWin == null) {
            if (DEBUG_DRAG) Slog.d(TAG_WM, "No touched win at x=" + x + " y=" + y);
            return;
        }

        if (!isWindowNotified(touchedWin)) {
        if (touchedWin != null && !isWindowNotified(touchedWin)) {
            // The drag point is over a window which was not notified about a drag start.
            // Pretend it's over empty space.
            touchedWin = null;