fixup! Launcher3: Allow widgets to have 1 row as minimum size
Change-Id: I602ebcc7a8d9d080356a853d7bdefdefd76aba2d
This commit is contained in:
parent
47b4da961a
commit
85725252e2
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue