Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0259c629 authored by Adam Cohen's avatar Adam Cohen Committed by Android (Google) Code Review
Browse files

Merge "Fix issue where deleting item from folder leaves extra page" into jb-ub-now-kermit

parents 8661761c 9c58d826
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -773,7 +773,11 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
                }
                }
                completeDragExit();
                completeDragExit();
            }
            }
        } else {
        }

        // This is kind of hacky, but in general, dropping on the workspace handles removing
        // the extra screen, but dropping elsewhere (back to self, or onto delete) doesn't.
        if (target != mLauncher.getWorkspace()) {
            mLauncher.getWorkspace().removeExtraEmptyScreen(true, null);
            mLauncher.getWorkspace().removeExtraEmptyScreen(true, null);
        }
        }