diff options
author | Adam Cohen <adamcohen@google.com> | 2013-09-29 14:27:02 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-09-29 14:27:02 -0700 |
commit | c086bddb2e75126b1eb2650ff323087f26a3c686 (patch) | |
tree | c6a47a5d3c69e6fcc0e742e530d8d06ad8c30fad | |
parent | 1a70a5124fb1041e71fc631c8fab90a86daea546 (diff) | |
parent | 949debe6e64034be1625ec21de100ea7e68545e2 (diff) | |
download | android_packages_apps_Trebuchet-c086bddb2e75126b1eb2650ff323087f26a3c686.tar.gz android_packages_apps_Trebuchet-c086bddb2e75126b1eb2650ff323087f26a3c686.tar.bz2 android_packages_apps_Trebuchet-c086bddb2e75126b1eb2650ff323087f26a3c686.zip |
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)
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index ab52c4eea..9e43dd81b 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(); |