am 949debe6: Fix issue where we weren\'t saving span after resize drop (issue 9533407)

* commit '949debe6e64034be1625ec21de100ea7e68545e2':
  Fix issue where we weren't saving span after resize drop (issue 9533407)
This commit is contained in:
Adam Cohen
2013-09-29 14:27:02 -07:00
committed by Android Git Automerger
+2 -2
View File
@@ -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();