Remove unnecessary update

pull/996/head
Alex Baker 5 years ago
parent f0d8d849b8
commit 3f3fbb68a8

@ -281,11 +281,6 @@ class ScrollableViewsFactory implements RemoteViewsService.RemoteViewsFactory {
private List<String> 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<String> queries =
TaskListQuery.getQuery(
preferences, filter, includeGoogleSubtasks, includeCaldavSubtasks);

Loading…
Cancel
Save