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:
Adam Cohen
2012-07-09 17:59:50 -07:00
parent 8d4fa39355
commit cf48426ebe

View File

@@ -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) {