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

Commit 5f53ea65 authored by Tracy Zhou's avatar Tracy Zhou Committed by Automerger Merge Worker
Browse files

Merge "Workspace migration should start from CellY = 1" into ub-launcher3-rvc-dev am: c11a808b

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11821039

Change-Id: I598c5fdafc54caac11b82162e6aba2ac291c3469
parents 71eb5a54 c11a808b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -384,7 +384,7 @@ public class GridSizeMigrationTaskV2 {
         * to speed up the search.
         */
        private boolean findPlacement(DbEntry entry) {
            for (int y = mNextStartY; y >= 0; y--) {
            for (int y = mNextStartY; y > 0; y--) {
                for (int x = mNextStartX; x < mTrgX; x++) {
                    boolean fits = mOccupied.isRegionVacant(x, y, entry.spanX, entry.spanY);
                    boolean minFits = mOccupied.isRegionVacant(x, y, entry.minSpanX,