mIsExternalDrag = false;
} else {
currentDragView = mCurrentDragView;
- // The view was never removed from this folder if we are still in the pre-drag.
- if (!mDragController.isInPreDrag()) {
- mContent.addViewForRank(currentDragView, si, mEmptyCellRank);
- }
+ mContent.addViewForRank(currentDragView, si, mEmptyCellRank);
}
if (d.dragView.hasDrawn()) {
mItemsInvalidated = true;
rearrangeChildren();
- // The ShortcutInfo was never removed if we are still in the pre-drag.
- if (!mDragController.isInPreDrag()) {
- // Temporarily suppress the listener, as we did all the work already here.
- try (SuppressInfoChanges s = new SuppressInfoChanges()) {
- mInfo.add(si, false);
- }
+ // Temporarily suppress the listener, as we did all the work already here.
+ try (SuppressInfoChanges s = new SuppressInfoChanges()) {
+ mInfo.add(si, false);
}
// Clear the drag info, as it is no longer being dragged.