summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2013-06-05 18:45:41 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-06-05 18:45:41 +0000
commit379517b0d4d47b45b52b40f09ba0eb1a039cb773 (patch)
treece5b658916225d4236774b07f5d2bcd55936a631 /core/java
parentaafed1df0404e2fb64c1adeb127dc7f300a2c07b (diff)
parenteeb4ff4d137a2ff2d25340c2b0396f2c3fd5068b (diff)
downloadframeworks_base-379517b0d4d47b45b52b40f09ba0eb1a039cb773.zip
frameworks_base-379517b0d4d47b45b52b40f09ba0eb1a039cb773.tar.gz
frameworks_base-379517b0d4d47b45b52b40f09ba0eb1a039cb773.tar.bz2
Merge "Fixing issue where AppWidgetHost.onProvidersChanged() was not being called. (Bug 9270309)" into jb-mr2-dev
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/appwidget/AppWidgetHost.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/core/java/android/appwidget/AppWidgetHost.java b/core/java/android/appwidget/AppWidgetHost.java
index c62bf32..8aae45a 100644
--- a/core/java/android/appwidget/AppWidgetHost.java
+++ b/core/java/android/appwidget/AppWidgetHost.java
@@ -109,7 +109,7 @@ public class AppWidgetHost {
break;
}
case HANDLE_PROVIDERS_CHANGED: {
- onProvidersChanged(msg.arg1);
+ onProvidersChanged();
break;
}
case HANDLE_VIEW_DATA_CHANGED: {
@@ -400,14 +400,6 @@ public class AppWidgetHost {
* are added, updated or removed, or widget components are enabled or disabled.)
*/
protected void onProvidersChanged() {
- onProvidersChanged(mContext.getUserId());
- }
-
- /**
- * Private method containing a userId
- * @hide
- */
- protected void onProvidersChanged(int userId) {
// Does nothing
}