Remove depth contours from osm live
This commit is contained in:
parent
1993fed190
commit
7dd31b17b8
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue