fixup! Launcher3: Allow widgets to have 1 row as minimum size

Change-Id: I602ebcc7a8d9d080356a853d7bdefdefd76aba2d
This commit is contained in:
Adithya R 2023-10-07 08:25:13 +05:30 committed by fazilsheik96
parent 47b4da961a
commit 85725252e2
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ public class LauncherAppWidgetProviderInfo extends AppWidgetProviderInfo
public void initSpans(Context context, InvariantDeviceProfile idp) { public void initSpans(Context context, InvariantDeviceProfile idp) {
int minSpanX = 0; int minSpanX = 0;
int minSpanY = 0; int minSpanY = 1;
int maxSpanX = idp.numColumns; int maxSpanX = idp.numColumns;
int maxSpanY = idp.numRows; int maxSpanY = idp.numRows;
int spanX = 0; int spanX = 0;