From 3f3fbb68a875b8976cc61873ab06d2557a525ea2 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Mon, 20 Apr 2020 13:51:57 -0500 Subject: [PATCH] Remove unnecessary update --- .../main/java/org/tasks/widget/ScrollableViewsFactory.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/src/main/java/org/tasks/widget/ScrollableViewsFactory.java b/app/src/main/java/org/tasks/widget/ScrollableViewsFactory.java index 62fde2328..b00a3d8c5 100644 --- a/app/src/main/java/org/tasks/widget/ScrollableViewsFactory.java +++ b/app/src/main/java/org/tasks/widget/ScrollableViewsFactory.java @@ -281,11 +281,6 @@ class ScrollableViewsFactory implements RemoteViewsService.RemoteViewsFactory { private List getQuery( Filter filter, boolean includeGoogleSubtasks, boolean includeCaldavSubtasks) { - AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); - RemoteViews rv = new RemoteViews(context.getPackageName(), R.layout.scrollable_widget); - rv.setTextViewText(R.id.widget_title, filter.listingTitle); - rv.setInt(R.id.widget, "setLayoutDirection", Locale.getInstance(context).getDirectionality()); - appWidgetManager.partiallyUpdateAppWidget(widgetId, rv); List queries = TaskListQuery.getQuery( preferences, filter, includeGoogleSubtasks, includeCaldavSubtasks);