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

Change-Id: Ic3e3a7c679a74b822a3567faeb353950af3cfbca
This commit is contained in:
Joe Onorato
2010-06-16 15:06:16 -04:00
parent 92266a7894
commit a8a8a42f85

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);