From 85725252e2db0d040d5ba9c3e75ff4bf6b587a62 Mon Sep 17 00:00:00 2001 From: Adithya R Date: Sat, 7 Oct 2023 08:25:13 +0530 Subject: [PATCH] fixup! Launcher3: Allow widgets to have 1 row as minimum size Change-Id: I602ebcc7a8d9d080356a853d7bdefdefd76aba2d --- .../android/launcher3/widget/LauncherAppWidgetProviderInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java b/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java index 192de876ce..14e8e5a260 100644 --- a/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java +++ b/src/com/android/launcher3/widget/LauncherAppWidgetProviderInfo.java @@ -99,7 +99,7 @@ public class LauncherAppWidgetProviderInfo extends AppWidgetProviderInfo public void initSpans(Context context, InvariantDeviceProfile idp) { int minSpanX = 0; - int minSpanY = 0; + int minSpanY = 1; int maxSpanX = idp.numColumns; int maxSpanY = idp.numRows; int spanX = 0;