am 7112d5db: Merge "Do not defer removing the drag view if we don\'t animate the item back into the folder. (Bug 6249514)" into jb-dev
* commit '7112d5dbdf1861227499ecb509b1a12343215f92':
Do not defer removing the drag view if we don't animate the item back into the folder. (Bug 6249514)
diff --git a/src/com/android/launcher2/Folder.java b/src/com/android/launcher2/Folder.java
index 36913ca..e8f1ac9 100644
--- a/src/com/android/launcher2/Folder.java
+++ b/src/com/android/launcher2/Folder.java
@@ -978,6 +978,7 @@
if (d.dragView.hasDrawn()) {
mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, mCurrentDragView);
} else {
+ d.deferDragViewCleanupPostAnimation = false;
mCurrentDragView.setVisibility(VISIBLE);
}
mItemsInvalidated = true;