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

This commit is contained in:
Winson Chung
2012-05-08 14:17:14 -07:00
committed by Android (Google) Code Review
+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;