mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Workspace migration should start from CellY = 1
Test: Manual Fixes: 155828336 Change-Id: Ic262f63e5e9dc0a5738f71a84dc5cc8b0cefd321
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user