Dedupe Items on Workspace for hotseat prediction

Bug:145236832
Test:Manual
Change-Id: I46da38998486c7f58aca829d33b42cbb04da515a
This commit is contained in:
Samuel Fufa committed 2019-12-03 14:39:12 -08:00
1 parent 51a5bf15ab
commit 2f0b2d3b4e
2 files changed
+37 -12

No files matched your search

@@ -113,6 +113,7 @@ public class DeleteDropTarget extends ButtonDropTarget {
public void onDrop(DragObject d, DragOptions options) {
if (canRemove(d.dragInfo)) {
mLauncher.getModelWriter().prepareToUndoDelete();
d.dragInfo.container = NO_ID;
}
super.onDrop(d, options);
}