diff --git a/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/widget/utils/WidgetUtils.kt b/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/widget/utils/WidgetUtils.kt index 87f0adbabbe4..66d8017fe044 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/widget/utils/WidgetUtils.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/widget/utils/WidgetUtils.kt @@ -144,7 +144,7 @@ class WidgetUtils ) } - @Suppress("LongParameterList") + @Suppress("LongParameterList", "DEPRECATION") fun showList( appWidgetManager: AppWidgetManager, views: RemoteViews, @@ -167,8 +167,8 @@ class WidgetUtils listIntent.data = Uri.parse( listIntent.toUri(Intent.URI_INTENT_SCHEME) ) - // TODO views.setRemoteAdapter(R.id.widget_content, listIntent) - // TODO appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetId, R.id.widget_content) + views.setRemoteAdapter(R.id.widget_content, listIntent) + appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetId, R.id.widget_content) appWidgetManager.updateAppWidget(appWidgetId, views) }