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

Commit d1f03470 authored by Tony Wickham's avatar Tony Wickham
Browse files

Don't move to adjacent page if it is full when dropping on it.

Bug: 32003721
Change-Id: Ia81b75a73f510ad2a58764dec9eb7e57b9bf2dcd
parent 5fd72d86
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -2647,12 +2647,12 @@ public class Workspace extends PagedView
                            resultSpan[1]);
                }

                if (foundCell) {
                    if (getScreenIdForPageIndex(mCurrentPage) != screenId && !hasMovedIntoHotseat) {
                        snapScreen = getPageIndexForScreenId(screenId);
                        snapToPage(snapScreen);
                    }

                if (foundCell) {
                    final ItemInfo info = (ItemInfo) cell.getTag();
                    if (hasMovedLayouts) {
                        // Reparent the view