summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2012-05-08 14:03:21 -0700
committerWinson Chung <winsonc@google.com>2012-05-08 14:03:59 -0700
commit2c4cf411f6c30fb2bfb47d2b13b680bda7a266dc (patch)
tree051c4fc8abb315cb0586608c51174f07abf622c2 /src
parentc843ca452a2c1667310246bf85c8eb50656ab7a6 (diff)
downloadandroid_packages_apps_Trebuchet-2c4cf411f6c30fb2bfb47d2b13b680bda7a266dc.tar.gz
android_packages_apps_Trebuchet-2c4cf411f6c30fb2bfb47d2b13b680bda7a266dc.tar.bz2
android_packages_apps_Trebuchet-2c4cf411f6c30fb2bfb47d2b13b680bda7a266dc.zip
Do not defer removing the drag view if we don't animate the item back into the folder. (Bug 6249514)
Change-Id: I40c47d9320158ec5ba4b4663316ecee488a61876
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/Folder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher2/Folder.java b/src/com/android/launcher2/Folder.java
index 36913ca6a..e8f1ac96b 100644
--- a/src/com/android/launcher2/Folder.java
+++ b/src/com/android/launcher2/Folder.java
@@ -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;