mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Remove a database operation that is not required
-> The item will be added to the database by the Folder, which is a FolderListener Change-Id: I3f41e3ef58f5829bd0c834901bf239539eb9d0bc
This commit is contained in:
@@ -303,7 +303,6 @@ public class FolderIcon extends LinearLayout implements FolderListener {
|
||||
|
||||
public void addItem(ShortcutInfo item) {
|
||||
mInfo.add(item);
|
||||
LauncherModel.addOrMoveItemInDatabase(mLauncher, item, mInfo.id, 0, item.cellX, item.cellY);
|
||||
}
|
||||
|
||||
public void onDragEnter(Object dragInfo) {
|
||||
|
||||
Reference in New Issue
Block a user