Merge pull request #8923 from osmandapp/custom_plugins_fixes

Fix unzip extension for obf files
This commit is contained in:
vshcherb 2020-05-08 17:39:48 +02:00 committed by GitHub
commit 0a2ef4852a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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