mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Dedupe Items on Workspace for hotseat prediction
Bug:145236832 Test:Manual Change-Id: I46da38998486c7f58aca829d33b42cbb04da515a
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user