Widget resizing can now displace items

Change-Id: I005c9aebf64b2d01debe59f86a208075d19476ea
This commit is contained in:
Adam Cohen committed 2012-04-12 11:25:34 -07:00
1 parent c6cc61d458
commit bebf042666
5 files changed
+136 -104

No files matched your search

+2 -2
View File
@@ -3403,8 +3403,8 @@ public class Workspace extends SmoothPagedView
ItemInfo info = (ItemInfo) v.getTag();
// Null check required as the AllApps button doesn't have an item info
if (info != null) {
LauncherModel.moveItemInDatabase(mLauncher, info, container, screen, info.cellX,
info.cellY);
LauncherModel.modifyItemInDatabase(mLauncher, info, container, screen, info.cellX,
info.cellY, info.spanX, info.spanY);
}
}
}