Changed asynktask's cancel to false

This commit is contained in:
PaulStets 2018-04-24 12:20:15 +03:00
parent 4384f4ddd5
commit 668449c0af

View file

@ -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);
}
}