From 4b02017fa5bdb276347d0b9e8a76a9fdd5bb0eb9 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 28 Aug 2014 14:51:14 -0700 Subject: Clear the draginfo object once the item is dropped inside a folder issue: 16097189 Change-Id: I187b5ac97ecb5204040962e7b707ef2a2f022306 --- src/com/android/launcher3/Folder.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/android/launcher3/Folder.java b/src/com/android/launcher3/Folder.java index 6bd4e0e2f..a27e51986 100644 --- a/src/com/android/launcher3/Folder.java +++ b/src/com/android/launcher3/Folder.java @@ -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 -- cgit v1.2.3