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

Commit d3a4e420 authored by Adam Cohen's avatar Adam Cohen
Browse files

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

issue 13801679

Change-Id: I4769220ddeab566a869050b20d6064809c70bc19
parent eaabe7c8
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();