Merge "Show icon when drop on deferred drop target is canceled" into ub-launcher3-master

This commit is contained in:
Tony Wickham
2018-03-08 16:56:20 +00:00
committed by Android (Google) Code Review
+3 -2
View File
@@ -2970,8 +2970,9 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
+ "Workspace#onDropCompleted. Please file a bug. ");
}
}
if (d.cancelled && mDragInfo != null && mDragInfo.cell != null) {
mDragInfo.cell.setVisibility(VISIBLE);
View cell = getHomescreenIconByItemId(d.originalDragInfo.id);
if (d.cancelled && cell != null) {
cell.setVisibility(VISIBLE);
}
mDragInfo = null;
}