Merge "Always remove drag view immediately when cancelling drag. (Bug: 6119112)"
This commit is contained in:
@@ -351,6 +351,7 @@ public class DragController {
|
||||
if (mLastDropTarget != null) {
|
||||
mLastDropTarget.onDragExit(mDragObject);
|
||||
}
|
||||
mDragObject.deferDragViewCleanupPostAnimation = false;
|
||||
mDragObject.cancelled = true;
|
||||
mDragObject.dragComplete = true;
|
||||
mDragObject.dragSource.onDropCompleted(null, mDragObject, false);
|
||||
|
||||
Reference in New Issue
Block a user