From c0f610192ca2629dfea1f2996f0a4b03d41ea163 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 20 Jul 2016 20:27:21 +0200 Subject: [PATCH] Fix base search --- OsmAnd/src/net/osmand/plus/resources/ResourceManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/resources/ResourceManager.java b/OsmAnd/src/net/osmand/plus/resources/ResourceManager.java index 97e9ca7a3c..019cd6f745 100644 --- a/OsmAnd/src/net/osmand/plus/resources/ResourceManager.java +++ b/OsmAnd/src/net/osmand/plus/resources/ResourceManager.java @@ -676,7 +676,7 @@ public class ResourceManager { changesManager.indexMainMap(f, dateCreated); indexFileNames.put(f.getName(), dateFormat.format(dateCreated)); //$NON-NLS-1$ } - if (!mapReader.getRegionNames().isEmpty()) { + if (!mapReader.getRegionNames().isEmpty() || mapReader.isBasemap()) { try { RandomAccessFile raf = new RandomAccessFile(f, "r"); //$NON-NLS-1$ RegionAddressRepositoryBinary rarb = new RegionAddressRepositoryBinary(this,