From 949debe6e64034be1625ec21de100ea7e68545e2 Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Sun, 29 Sep 2013 14:22:48 -0700 Subject: [PATCH] Fix issue where we weren't saving span after resize drop (issue 9533407) Change-Id: I760bf505ce9c894aedb6f1d0def63cdc7d39271a --- src/com/android/launcher3/Workspace.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index ab52c4eea9..9e43dd81bd 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -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();