diff options
author | Winson Chung <winsonc@google.com> | 2011-08-11 16:12:00 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-08-11 16:12:40 -0700 |
commit | e50adee3d54978840036bb3a814771ce498aee18 (patch) | |
tree | 547326139bfe0343a3a8be50eca4ce7e32193145 /src/com/android/launcher2/Launcher.java | |
parent | 981b8a3708f7c8de5ab8f896c4ea8110379c012a (diff) | |
download | packages_apps_trebuchet-e50adee3d54978840036bb3a814771ce498aee18.zip packages_apps_trebuchet-e50adee3d54978840036bb3a814771ce498aee18.tar.gz packages_apps_trebuchet-e50adee3d54978840036bb3a814771ce498aee18.tar.bz2 |
Fixing issue where open folder placeholders were not being set to the correct cell position. (5109754)
Change-Id: I40e9371f60c492b96d7115c2eb3e3efe233612a9
Diffstat (limited to 'src/com/android/launcher2/Launcher.java')
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index 0f074ac..f9d3175 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -1666,7 +1666,8 @@ public final class Launcher extends Activity FolderInfo info = (FolderInfo) fi.getTag(); if (info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { CellLayout cl = (CellLayout) fi.getParent().getParent(); - cl.setFolderLeaveBehindCell(info.cellX, info.cellY); + CellLayout.LayoutParams lp = (CellLayout.LayoutParams) fi.getLayoutParams(); + cl.setFolderLeaveBehindCell(lp.cellX, lp.cellY); } ObjectAnimator oa = ObjectAnimator.ofPropertyValuesHolder(fi, alpha, scaleX, scaleY); |