Update javadocs for the AppWidget

Change-Id: Idc77ab02df172135c791dc96aba16726a497679c
This commit is contained in:
Roman Kalukiewicz
2022-08-02 17:22:01 +00:00
parent 8db173d6c4
commit 94444f9720
2 changed files with 6 additions and 2 deletions

View File

@@ -586,6 +586,9 @@ public class AppWidgetManager {
* The extras can be used to embed additional information about this widget to be accessed
* by the associated widget's AppWidgetProvider.
*
* <p>
* The new options are merged into existing options using {@link Bundle#putAll} semantics.
*
* @see #getAppWidgetOptions(int)
*
* @param appWidgetId The AppWidget instances for which to set the RemoteViews.

View File

@@ -127,7 +127,8 @@ public class AppWidgetProvider extends BroadcastReceiver {
/**
* Called in response to the {@link AppWidgetManager#ACTION_APPWIDGET_OPTIONS_CHANGED}
* broadcast when this widget has been layed out at a new size.
* broadcast when this widget has been layed out at a new size or its options changed via
* {@link AppWidgetManager#updateAppWidgetOptions}.
*
* {@more}
*
@@ -136,7 +137,7 @@ public class AppWidgetProvider extends BroadcastReceiver {
* @param appWidgetManager A {@link AppWidgetManager} object you can call {@link
* AppWidgetManager#updateAppWidget} on.
* @param appWidgetId The appWidgetId of the widget whose size changed.
* @param newOptions The appWidgetId of the widget whose size changed.
* @param newOptions The new options of the changed widget.
*
* @see AppWidgetManager#ACTION_APPWIDGET_OPTIONS_CHANGED
*/