Merge "Address race condition with drag from external window" into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1fe0a4e080
@@ -92,7 +92,7 @@ public abstract class BaseItemDragListener implements View.OnDragListener, DragS
|
|||||||
postCleanup();
|
postCleanup();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (event.getAction() == DragEvent.ACTION_DRAG_STARTED) {
|
if (event.getAction() == DragEvent.ACTION_DRAG_STARTED || !mDragController.isDragging()) {
|
||||||
if (onDragStart(event)) {
|
if (onDragStart(event)) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user