commit
0202c22c1e
5 changed files with 26 additions and 10 deletions
|
@ -289,7 +289,8 @@ public class OsmBaseStorage {
|
|||
entityInfo.put(entityId, currentParsedEntityInfo);
|
||||
}
|
||||
if (!supressWarnings && oldEntity != null) {
|
||||
throw new UnsupportedOperationException("Entity with id=" + oldEntity.getId() +" is duplicated in osm map"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
throw new UnsupportedOperationException(
|
||||
"Entity with id=" + oldEntity.getId() + " is duplicated in osm map"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
}
|
||||
} else {
|
||||
// System.gc();
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -106,6 +106,14 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
clean.doFirst {
|
||||
delete fileTree('assets') {
|
||||
include '*.obf'
|
||||
include 'fonts/**'
|
||||
include 'feature_articles/**'
|
||||
include 'voice/**'
|
||||
}
|
||||
}
|
||||
|
||||
task validateTranslate {
|
||||
println "Validating translations"
|
||||
|
@ -126,9 +134,15 @@ task validateTranslate {
|
|||
}
|
||||
}
|
||||
|
||||
task downloadDefaultWikivoyage {
|
||||
doLast {
|
||||
ant.get(src: 'https://builder.osmand.net/wikivoyage-gen/sqlite/Default_wikivoyage_2.travel.obf', dest: 'assets/Default_wikivoyage.travel.obf', skipexisting: 'true')
|
||||
}
|
||||
}
|
||||
|
||||
task downloadWorldMiniBasemap {
|
||||
doLast {
|
||||
ant.get(src: 'http://builder.osmand.net/basemap/World_basemap_mini_2.obf', dest: 'assets/World_basemap_mini.obf', skipexisting: 'true')
|
||||
ant.get(src: 'https://builder.osmand.net/basemap/World_basemap_mini_2.obf', dest: 'assets/World_basemap_mini.obf', skipexisting: 'true')
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -254,7 +268,8 @@ task collectExternalResources {
|
|||
copyWidgetIconsHdpi,
|
||||
copyWidgetIconsXhdpi,
|
||||
copyPoiCategories,
|
||||
downloadWorldMiniBasemap
|
||||
downloadWorldMiniBasemap,
|
||||
downloadDefaultWikivoyage
|
||||
}
|
||||
|
||||
// Legacy core build
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
android:paddingRight="@dimen/bottom_sheet_exit_button_margin"
|
||||
android:text="@string/buy"
|
||||
android:textColor="@color/text_color_tab_active_light"
|
||||
android:visibility="visible" />
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
Loading…
Reference in a new issue