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

Commit 59551217 authored by Adam Cohen's avatar Adam Cohen Committed by Android (Google) Code Review
Browse files

Merge "Attempt to fix crash on workspace drag and drop on certain JB devices"...

Merge "Attempt to fix crash on workspace drag and drop on certain JB devices" into ub-now-mister-ugly
parents 69dffdb8 d3a4e420
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -736,7 +736,13 @@ public class DragLayer extends FrameLayout implements ViewGroup.OnHierarchyChang
            mDropAnim.cancel();
        }
        if (mDropView != null) {
            mDragController.onDeferredEndDrag(mDropView);
            final DragView dropView = mDropView;
            post(new Runnable() {
                @Override
                public void run() {
                    mDragController.onDeferredEndDrag(dropView);
                }
            });
        }
        mDropView = null;
        invalidate();