Remove depth contours from osm live

This commit is contained in:
Alexey Kulish 2017-03-21 12:46:38 +03:00
parent 1993fed190
commit 7dd31b17b8

View file

@ -633,9 +633,11 @@ public class LiveUpdatesFragment extends BaseOsmAndFragment implements InAppList
@Override
protected void onProgressUpdate(LocalIndexInfo... values) {
String fileNameL;
for (LocalIndexInfo localIndexInfo : values) {
fileNameL = localIndexInfo.getFileName().toLowerCase();
if (localIndexInfo.getType() == LocalIndexHelper.LocalIndexType.MAP_DATA
&& !(localIndexInfo.getFileName().toLowerCase().contains("world"))) {
&& !fileNameL.contains("world") && !fileNameL.startsWith("depth_")) {
adapter.add(localIndexInfo);
}
}