Merge "Fix bug 2772728 with the suggested fix. I wasn't able to reproduce it though." into gingerbread

This commit is contained in:
Joe Onorato
2010-06-23 16:08:06 -07:00
committed by Android (Google) Code Review

View File

@@ -1204,6 +1204,7 @@ class AppWidgetService extends IAppWidgetService.Stub
// If it's currently showing, call back with the new AppWidgetProviderInfo.
for (int j=0; j<M; j++) {
AppWidgetId id = p.instances.get(j);
id.views = null;
if (id.host != null && id.host.callbacks != null) {
try {
id.host.callbacks.providerChanged(id.appWidgetId, p.info);