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

Commit f9ed8be1 authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

am 8edd7849: Merge "DO NOT MERGE: Don\'t crash when we get a drag-ended after...

am 8edd7849: Merge "DO NOT MERGE: Don\'t crash when we get a drag-ended after being detached" into jb-mr2-dev

* commit '8edd7849':
  DO NOT MERGE: Don't crash when we get a drag-ended after being detached
parents f2f3988e 8edd7849
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1152,9 +1152,11 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
                }

                mDragNotifiedChildren.clear();
                if (mCurrentDrag != null) {
                    mCurrentDrag.recycle();
                    mCurrentDrag = null;
                }
            }

            // We consider drag-ended to have been handled if one of our children
            // had offered to handle the drag.