diff options
Diffstat (limited to 'src/com/android/launcher3/DragController.java')
-rw-r--r-- | src/com/android/launcher3/DragController.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/com/android/launcher3/DragController.java b/src/com/android/launcher3/DragController.java index c59f34c25..d3973f60a 100644 --- a/src/com/android/launcher3/DragController.java +++ b/src/com/android/launcher3/DragController.java @@ -379,9 +379,11 @@ public class DragController { void onDeferredEndDrag(DragView dragView) { dragView.remove(); - // If we skipped calling onDragEnd() before, do it now - for (DragListener listener : mListeners) { - listener.onDragEnd(); + if (mDragObject.deferDragViewCleanupPostAnimation) { + // If we skipped calling onDragEnd() before, do it now + for (DragListener listener : mListeners) { + listener.onDragEnd(); + } } } |