Slight tweak to the id generation code for items

on home screen
This commit is contained in:
Michael Jurka
2010-09-30 11:06:13 -07:00
parent 845ba3b17b
commit 60587efe1a
+1 -1
View File
@@ -799,7 +799,7 @@ public class Workspace extends SmoothPagedView
cellLayout.onMove(cell, mTargetCell[0], mTargetCell[1]);
lp.cellX = mTargetCell[0];
lp.cellY = mTargetCell[1];
cell.setId(LauncherModel.getCellLayoutChildId(cell.getId(), mDragInfo.screen,
cell.setId(LauncherModel.getCellLayoutChildId(-1, mDragInfo.screen,
mTargetCell[0], mTargetCell[1], mDragInfo.spanX, mDragInfo.spanY));
LauncherModel.moveItemInDatabase(mLauncher, info,