mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Persist predicted items when dragged to workspace
Bug: 143787549 Test: Manual Change-Id: Ieff0ede4072a2a9a87a62b06ad846eedfe97583f
This commit is contained in:
@@ -103,7 +103,7 @@ public class ModelWriter {
|
||||
*/
|
||||
public void addOrMoveItemInDatabase(ItemInfo item,
|
||||
int container, int screenId, int cellX, int cellY) {
|
||||
if (item.container == ItemInfo.NO_ID) {
|
||||
if (item.id == ItemInfo.NO_ID) {
|
||||
// From all apps
|
||||
addItemToDatabase(item, container, screenId, cellX, cellY);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user