From ab8a90fac33d8f33845cb4f7075ed59d908b9ea3 Mon Sep 17 00:00:00 2001 From: Dima-1 Date: Wed, 19 Feb 2020 15:07:57 +0200 Subject: [PATCH] Fix refactoring SelectGpxTask->GpxSelectionHelper --- OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java index 80213355ca..945d0c58fc 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java @@ -202,7 +202,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment implement public void onPause() { super.onPause(); updateEnable = false; - if (operationTask != null && !(operationTask instanceof SelectGpxTask)) { + if (operationTask != null) { operationTask.cancel(true); } if (actionMode != null) {