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