From c2f51cd8325f85d2159d17f4b510368032c0a408 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 29 May 2019 15:14:32 +0200 Subject: [PATCH] Fix gpx utilities --- OsmAnd-java/src/main/java/net/osmand/GPXUtilities.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/GPXUtilities.java b/OsmAnd-java/src/main/java/net/osmand/GPXUtilities.java index b4c1ac6be4..4de0581fb6 100644 --- a/OsmAnd-java/src/main/java/net/osmand/GPXUtilities.java +++ b/OsmAnd-java/src/main/java/net/osmand/GPXUtilities.java @@ -858,13 +858,13 @@ public class GPXUtilities { public GPXFile(String title, String lang, String description) { this.metadata = new Metadata(); if(description != null) { - metadata.extensions.put("desc", description); + metadata.getExtensionsToWrite().put("desc", description); } if(lang != null) { - metadata.extensions.put("article_lang", lang); + metadata.getExtensionsToWrite().put("article_lang", lang); } if(title != null) { - metadata.extensions.put("article_title", title); + metadata.getExtensionsToWrite().put("article_title", title); } }