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

Commit 5aca9cbb authored by Yorke Lee's avatar Yorke Lee Committed by android-build-merger
Browse files

Merge "Fix for drag start event being incorrectly cached" into nyc-dev am: 26903a34

am: 2e2bb0a7

* commit '2e2bb0a7':
  Fix for drag start event being incorrectly cached
parents 118f3b5b 2e2bb0a7
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1382,6 +1382,13 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
            if (mIsInterestedInDrag) {
                retval = true;
            }

            if (!retval) {
                // Neither us nor any of our children are interested in this drag, so stop tracking
                // the current drag event.
                mCurrentDragStartEvent.recycle();
                mCurrentDragStartEvent = null;
            }
        } break;

        case DragEvent.ACTION_DRAG_ENDED: {