Loading src/com/android/launcher3/Workspace.java +5 −0 Original line number Diff line number Diff line Loading @@ -1922,6 +1922,11 @@ public class Workspace extends PagedView<WorkspacePageIndicator> CellLayout layout = (CellLayout) cell.getParent().getParent(); layout.markCellsAsOccupiedForView(cell); } } else { // When drag is cancelled, reattach content view back to its original parent. if (mDragInfo.cell instanceof LauncherAppWidgetHostView) { d.dragView.detachContentView(/* reattachToPreviousParent= */ true); } } final CellLayout parent = (CellLayout) cell.getParent().getParent(); Loading Loading
src/com/android/launcher3/Workspace.java +5 −0 Original line number Diff line number Diff line Loading @@ -1922,6 +1922,11 @@ public class Workspace extends PagedView<WorkspacePageIndicator> CellLayout layout = (CellLayout) cell.getParent().getParent(); layout.markCellsAsOccupiedForView(cell); } } else { // When drag is cancelled, reattach content view back to its original parent. if (mDragInfo.cell instanceof LauncherAppWidgetHostView) { d.dragView.detachContentView(/* reattachToPreviousParent= */ true); } } final CellLayout parent = (CellLayout) cell.getParent().getParent(); Loading