summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2012-10-11 14:26:25 -0700
committerWinson Chung <winsonc@google.com>2012-10-11 14:27:03 -0700
commit6611988429d1d70ec429f87bbf2b093cf1e2e31f (patch)
treebaf2eb498cc7388362878a1779b3b31df35f6502 /core/java
parentec139240480702e80cd56c0309394f7549a993f3 (diff)
downloadframeworks_base-6611988429d1d70ec429f87bbf2b093cf1e2e31f.zip
frameworks_base-6611988429d1d70ec429f87bbf2b093cf1e2e31f.tar.gz
frameworks_base-6611988429d1d70ec429f87bbf2b093cf1e2e31f.tar.bz2
Letting partial update fall through if the widget has not received a full update yet. (Bug 7214731)
Change-Id: I4da99c259df51f8f66d3ade1156040bd0360ca5d
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/appwidget/AppWidgetManager.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/appwidget/AppWidgetManager.java b/core/java/android/appwidget/AppWidgetManager.java
index 888955c..2af65b9 100644
--- a/core/java/android/appwidget/AppWidgetManager.java
+++ b/core/java/android/appwidget/AppWidgetManager.java
@@ -448,6 +448,10 @@ public class AppWidgetManager {
* and outside of the handler.
* This method will only work when called from the uid that owns the AppWidget provider.
*
+ * <p>
+ * This method will be ignored if a widget has not received a full update via
+ * {@link #updateAppWidget(int[], RemoteViews)}.
+ *
* @param appWidgetIds The AppWidget instances for which to set the RemoteViews.
* @param views The RemoteViews object containing the incremental update / command.
*/
@@ -476,6 +480,10 @@ public class AppWidgetManager {
* and outside of the handler.
* This method will only work when called from the uid that owns the AppWidget provider.
*
+ * <p>
+ * This method will be ignored if a widget has not received a full update via
+ * {@link #updateAppWidget(int[], RemoteViews)}.
+ *
* @param appWidgetId The AppWidget instance for which to set the RemoteViews.
* @param views The RemoteViews object containing the incremental update / command.
*/