Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83acc755 authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

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

parents 67ef1c40 4b02017f
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1295,6 +1295,8 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
        mSuppressOnAdd = true;
        mSuppressOnAdd = true;
        mInfo.add(si);
        mInfo.add(si);
        mSuppressOnAdd = false;
        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
    // This is used so the item doesn't immediately appear in the folder when added. In one case