From 5027e9715b489bb94fe03df5bf849fa58ba440ab Mon Sep 17 00:00:00 2001 From: Andrew Solovay Date: Tue, 24 Jan 2023 00:23:59 +0000 Subject: [PATCH] docs: Correct copy/paste error in AppWidgetProviderInfo.minWidth() The summary fragment said minWidth() gives the default height, should say default width. Probably came from a copy/paste from minHeight. Change-Id: I1ace663b28c36e1cf46252a8cc2d39b3770efefa Test: [go/abtd build] Fixes: 143855176 --- core/java/android/appwidget/AppWidgetProviderInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/appwidget/AppWidgetProviderInfo.java b/core/java/android/appwidget/AppWidgetProviderInfo.java index 4d2317a6d0f45..e56e53a4a38bc 100644 --- a/core/java/android/appwidget/AppWidgetProviderInfo.java +++ b/core/java/android/appwidget/AppWidgetProviderInfo.java @@ -143,7 +143,7 @@ public class AppWidgetProviderInfo implements Parcelable { public ComponentName provider; /** - * The default height of the widget when added to a host, in px. The widget will get + * The default width of the widget when added to a host, in px. The widget will get * at least this width, and will often be given more, depending on the host. * *

This field corresponds to the android:minWidth attribute in