Merge "Clear the draginfo object once the item is dropped inside a folder" into ub-now-porkchop

This commit is contained in:
Sunny Goyal
2014-08-28 23:01:34 +00:00
committed by Android (Google) Code Review
+2
View File
@@ -1295,6 +1295,8 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
mSuppressOnAdd = true;
mInfo.add(si);
mSuppressOnAdd = false;
// Clear the drag info, as it is no longer being dragged.
mCurrentDragInfo = null;
}
// This is used so the item doesn't immediately appear in the folder when added. In one case