diff options
| author | 2018-03-20 10:02:06 -0700 | |
|---|---|---|
| committer | 2018-03-20 10:04:28 -0700 | |
| commit | 0b417b9b04dd728bf1e4dec553896992f6e9c785 (patch) | |
| tree | cb3e4d4bf537f5615632c7177102aa5b910eef22 | |
| parent | 8cf1ae492877182fe37aca4237f67fb0634047fb (diff) | |
Updating javadoc for updateAppWidgetProviderInfo API
Bug: 74838920
Test: N/A
Change-Id: I531676900fbf8d60ef7050c86a570112ff1ad476
| -rw-r--r-- | core/java/android/appwidget/AppWidgetManager.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/java/android/appwidget/AppWidgetManager.java b/core/java/android/appwidget/AppWidgetManager.java index f67ec4a1ebf4..20248b90d1e9 100644 --- a/core/java/android/appwidget/AppWidgetManager.java +++ b/core/java/android/appwidget/AppWidgetManager.java @@ -679,11 +679,13 @@ public class AppWidgetManager { } /** - * Updates the info for the supplied AppWidget provider. + * Updates the info for the supplied AppWidget provider. Apps can use this to change the default + * behavior of the widget based on the state of the app (for e.g., if the user is logged in + * or not). Calling this API completely replaces the previous definition. * * <p> * The manifest entry of the provider should contain an additional meta-data tag similar to - * {@link #META_DATA_APPWIDGET_PROVIDER} which should point to any additional definitions for + * {@link #META_DATA_APPWIDGET_PROVIDER} which should point to any alternative definitions for * the provider. * * <p> |