Loading src/com/android/launcher3/Folder.java +4 −1 Original line number Diff line number Diff line Loading @@ -1107,7 +1107,10 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList if (getItemCount() <= 1) { // Remove the folder LauncherModel.deleteItemFromDatabase(mLauncher, mInfo); if (cellLayout != null) { // b/12446428 -- sometimes the cell layout has already gone away? cellLayout.removeView(mFolderIcon); } if (mFolderIcon instanceof DropTarget) { mDragController.removeDropTarget((DropTarget) mFolderIcon); } Loading Loading
src/com/android/launcher3/Folder.java +4 −1 Original line number Diff line number Diff line Loading @@ -1107,7 +1107,10 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList if (getItemCount() <= 1) { // Remove the folder LauncherModel.deleteItemFromDatabase(mLauncher, mInfo); if (cellLayout != null) { // b/12446428 -- sometimes the cell layout has already gone away? cellLayout.removeView(mFolderIcon); } if (mFolderIcon instanceof DropTarget) { mDragController.removeDropTarget((DropTarget) mFolderIcon); } Loading