Fix issue where we weren't saving span after resize drop (issue 9533407)
Change-Id: I760bf505ce9c894aedb6f1d0def63cdc7d39271a
This commit is contained in:
parent
82398369f3
commit
949debe6e6
|
@ -2649,8 +2649,8 @@ public class Workspace extends SmoothPagedView
|
|||
}
|
||||
}
|
||||
|
||||
LauncherModel.moveItemInDatabase(mLauncher, info, container, screenId, lp.cellX,
|
||||
lp.cellY);
|
||||
LauncherModel.modifyItemInDatabase(mLauncher, info, container, screenId, lp.cellX,
|
||||
lp.cellY, item.spanX, item.spanY);
|
||||
} else {
|
||||
// If we can't find a drop location, we return the item to its original position
|
||||
CellLayout.LayoutParams lp = (CellLayout.LayoutParams) cell.getLayoutParams();
|
||||
|
|
Loading…
Reference in New Issue