From aa7da2e21197f327c37fd1bf183d43901f11b448 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 8 May 2020 18:35:52 +0300 Subject: [PATCH] Fix unzip extension for obf files --- OsmAnd/src/net/osmand/plus/download/DownloadActivityType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/download/DownloadActivityType.java b/OsmAnd/src/net/osmand/plus/download/DownloadActivityType.java index b5671e89c8..95631c9c8c 100644 --- a/OsmAnd/src/net/osmand/plus/download/DownloadActivityType.java +++ b/OsmAnd/src/net/osmand/plus/download/DownloadActivityType.java @@ -199,7 +199,7 @@ public class DownloadActivityType { if (NORMAL_FILE == this) { if (indexItem.fileName.endsWith(IndexConstants.BINARY_MAP_INDEX_EXT_ZIP)) { return BINARY_MAP_INDEX_EXT; - } else if (indexItem.fileName.endsWith(IndexConstants.BINARY_MAP_INDEX_EXT_ZIP)) { + } else if (indexItem.fileName.endsWith(IndexConstants.BINARY_MAP_INDEX_EXT)) { return BINARY_MAP_INDEX_EXT; } else if (indexItem.fileName.endsWith(IndexConstants.EXTRA_ZIP_EXT)) { return IndexConstants.EXTRA_EXT;