Merge "Address race condition with drag from external window" into ub-launcher3-rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-15 21:41:34 +00:00
committed by Android (Google) Code Review
@@ -92,7 +92,7 @@ public abstract class BaseItemDragListener implements View.OnDragListener, DragS
postCleanup();
return false;
}
if (event.getAction() == DragEvent.ACTION_DRAG_STARTED) {
if (event.getAction() == DragEvent.ACTION_DRAG_STARTED || !mDragController.isDragging()) {
if (onDragStart(event)) {
return true;
} else {