From 1ffefa85053451fda39df1899da27e6f9d7b82a9 Mon Sep 17 00:00:00 2001 From: Chumva Date: Tue, 18 Jun 2019 18:45:20 +0300 Subject: [PATCH] remove unnecessary method calls --- OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java b/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java index dfcd313edc..e0d470db27 100644 --- a/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java +++ b/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java @@ -169,7 +169,7 @@ public class DownloadIndexesThread { } public boolean isDownloading() { - return !getCurrentDownloadingItems().isEmpty() || getCurrentDownloadingItem() != null; + return !indexItemDownloading.isEmpty() || currentDownloadingItem != null; } public boolean isDownloading(IndexItem item) {