Widget resizing can now displace items
Change-Id: I005c9aebf64b2d01debe59f86a208075d19476ea
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user