From cb8a5544bfb2389ebd735f1575b481000d802eb4 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Tue, 18 Jan 2011 15:31:05 -0800 Subject: [PATCH] Updating widget due to API changes. Change-Id: I8623c48e912330145cfd325c962574d322ccc6f0 --- AndroidManifest.xml | 4 ++-- src/com/android/email/provider/WidgetProvider.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 3f2f5699e..998c9116e 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -501,8 +501,8 @@ diff --git a/src/com/android/email/provider/WidgetProvider.java b/src/com/android/email/provider/WidgetProvider.java index 58f33c223..aff1ecee2 100644 --- a/src/com/android/email/provider/WidgetProvider.java +++ b/src/com/android/email/provider/WidgetProvider.java @@ -388,7 +388,7 @@ public class WidgetProvider extends AppWidgetProvider { Intent intent = new Intent(sContext, WidgetService.class); intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mWidgetId); intent.setData(Uri.parse(intent.toUri(Intent.URI_INTENT_SCHEME))); - views.setRemoteAdapter(R.id.message_list, intent); + views.setRemoteAdapter(mWidgetId, R.id.message_list, intent); setupTitleAndCount(views);