diff options
author | Winson Chung <winsonc@google.com> | 2013-06-04 14:25:28 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2013-06-04 14:25:28 -0700 |
commit | eeb4ff4d137a2ff2d25340c2b0396f2c3fd5068b (patch) | |
tree | 1f9cf615e33c14f3b80099f4536b0ed3ec05df12 /core/java/android/appwidget | |
parent | e4ef3849c58225206fd5cba1b33c08968c5e6021 (diff) | |
download | frameworks_base-eeb4ff4d137a2ff2d25340c2b0396f2c3fd5068b.zip frameworks_base-eeb4ff4d137a2ff2d25340c2b0396f2c3fd5068b.tar.gz frameworks_base-eeb4ff4d137a2ff2d25340c2b0396f2c3fd5068b.tar.bz2 |
Fixing issue where AppWidgetHost.onProvidersChanged() was not being called. (Bug 9270309)
Change-Id: I6cfb8e0c586fad7360a07f98e1280a954f62e5e1
Diffstat (limited to 'core/java/android/appwidget')
-rw-r--r-- | core/java/android/appwidget/AppWidgetHost.java | 10 |
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 } |