From 668449c0afb3876b93426aec813dc2e8602f83f7 Mon Sep 17 00:00:00 2001 From: PaulStets Date: Tue, 24 Apr 2018 12:20:15 +0300 Subject: [PATCH] Changed asynktask's cancel to false --- .../net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java b/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java index ebd163a948..adfc31841b 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageWebViewClient.java @@ -201,10 +201,10 @@ public class WikivoyageWebViewClient extends WebViewClient implements RegionCall public void stopRunningAsyncTasks() { if (articleSearchTask != null && articleSearchTask.getStatus() == AsyncTask.Status.RUNNING) { - articleSearchTask.cancel(true); + articleSearchTask.cancel(false); } if (fetchRegionTask != null && fetchRegionTask.getStatus() == AsyncTask.Status.RUNNING) { - fetchRegionTask.cancel(true); + fetchRegionTask.cancel(false); } }