Do not defer removing the drag view if we don't animate the item back into the folder. (Bug 6249514)

Change-Id: I40c47d9320158ec5ba4b4663316ecee488a61876
This commit is contained in:
Winson Chung
2012-05-08 14:03:21 -07:00
parent c843ca452a
commit 2c4cf411f6
+1
View File
@@ -978,6 +978,7 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
if (d.dragView.hasDrawn()) {
mLauncher.getDragLayer().animateViewIntoPosition(d.dragView, mCurrentDragView);
} else {
d.deferDragViewCleanupPostAnimation = false;
mCurrentDragView.setVisibility(VISIBLE);
}
mItemsInvalidated = true;