Loading src/com/android/launcher3/ShortcutAndWidgetContainer.java +7 −2 Original line number Diff line number Diff line Loading @@ -34,6 +34,8 @@ import com.android.launcher3.folder.FolderIcon; import com.android.launcher3.views.ActivityContext; import com.android.launcher3.widget.NavigableAppWidgetHostView; import foundation.e.bliss.folder.GridFolder; public class ShortcutAndWidgetContainer extends ViewGroup implements FolderIcon.FolderIconParent { static final String TAG = "ShortcutAndWidgetContainer"; Loading Loading @@ -249,8 +251,11 @@ public class ShortcutAndWidgetContainer extends ViewGroup implements FolderIcon. @Override public void drawFolderLeaveBehindForIcon(FolderIcon child) { CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); if (!(child.getFolder() instanceof GridFolder)) { // While the folder is open, the position of the icon cannot change. // With Grid folder and auto reorder it is necessary we change position lp.canReorder = false; } if (mContainerType == CellLayout.HOTSEAT) { CellLayout cl = (CellLayout) getParent(); cl.setFolderLeaveBehindCell(lp.cellX, lp.cellY); Loading Loading
src/com/android/launcher3/ShortcutAndWidgetContainer.java +7 −2 Original line number Diff line number Diff line Loading @@ -34,6 +34,8 @@ import com.android.launcher3.folder.FolderIcon; import com.android.launcher3.views.ActivityContext; import com.android.launcher3.widget.NavigableAppWidgetHostView; import foundation.e.bliss.folder.GridFolder; public class ShortcutAndWidgetContainer extends ViewGroup implements FolderIcon.FolderIconParent { static final String TAG = "ShortcutAndWidgetContainer"; Loading Loading @@ -249,8 +251,11 @@ public class ShortcutAndWidgetContainer extends ViewGroup implements FolderIcon. @Override public void drawFolderLeaveBehindForIcon(FolderIcon child) { CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); if (!(child.getFolder() instanceof GridFolder)) { // While the folder is open, the position of the icon cannot change. // With Grid folder and auto reorder it is necessary we change position lp.canReorder = false; } if (mContainerType == CellLayout.HOTSEAT) { CellLayout cl = (CellLayout) getParent(); cl.setFolderLeaveBehindCell(lp.cellX, lp.cellY); Loading