Rename to follow file name convention

This commit is contained in:
vshcherb 2014-04-26 16:13:51 +02:00
parent 740c829fab
commit be1bb81e05
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
*.render.xml *.render.xml
*.map_style_presets.xml
routing*.xml routing*.xml
rendering_types.xml rendering_types.xml
countries.reginfo countries.reginfo

View file

@ -24,6 +24,7 @@ import net.osmand.binary.BinaryMapIndexReader.MapIndex;
import net.osmand.binary.BinaryMapIndexReader.TagValuePair; import net.osmand.binary.BinaryMapIndexReader.TagValuePair;
import net.osmand.data.QuadRect; import net.osmand.data.QuadRect;
import net.osmand.data.QuadTree; import net.osmand.data.QuadTree;
import net.osmand.util.Algorithms;
import net.osmand.util.MapAlgorithms; import net.osmand.util.MapAlgorithms;
import net.osmand.util.MapUtils; import net.osmand.util.MapUtils;

View file

@ -96,7 +96,7 @@ public class DownloadActivityType {
} }
public boolean isZipStream(OsmandApplication ctx, IndexItem indexItem) { public boolean isZipStream(OsmandApplication ctx, IndexItem indexItem) {
return true; return HILLSHADE_FILE != this;
} }
public boolean isZipFolder(OsmandApplication ctx, IndexItem indexItem) { public boolean isZipFolder(OsmandApplication ctx, IndexItem indexItem) {
@ -222,7 +222,7 @@ public class DownloadActivityType {
" "+ ctx.getString(R.string.index_item_nation_addresses); " "+ ctx.getString(R.string.index_item_nation_addresses);
} }
return osmandRegions.getLocaleName(lc); return osmandRegions.getLocaleName(bn);
} }
private String getStandardMapName(Context ctx, String basename) { private String getStandardMapName(Context ctx, String basename) {