From ec03c40c1bbb406a6669f047c9af2808e0b1942a Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Thu, 22 Apr 2021 11:27:26 +0300 Subject: [PATCH] Remove group alias --- .../src/net/osmand/plus/mapmarkers/ItinerarySaveHelper.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/ItinerarySaveHelper.java b/OsmAnd/src/net/osmand/plus/mapmarkers/ItinerarySaveHelper.java index 992acc70f7..c413f005e8 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/ItinerarySaveHelper.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/ItinerarySaveHelper.java @@ -105,7 +105,6 @@ public class ItinerarySaveHelper { writeNotNullText(serializer, "osmand:name", group.name); writeNotNullText(serializer, "osmand:type", group.type); writeNotNullText(serializer, "osmand:path", group.path); - writeNotNullText(serializer, "osmand:alias", group.alias); writeNotNullText(serializer, "osmand:categories", group.categories); serializer.endTag(null, "osmand:" + ITINERARY_GROUP); @@ -235,7 +234,6 @@ public class ItinerarySaveHelper { public String name; public String type; public String path; - public String alias; public String categories; public static ItineraryGroupInfo createGroupInfo(OsmandApplication app, ItineraryGroup group) { @@ -255,9 +253,6 @@ public class ItinerarySaveHelper { path = path.substring(gpxDir.length() + 1); } groupInfo.path = path; - groupInfo.alias = groupInfo.type + ":" + path; - } else { - groupInfo.alias = groupInfo.type + (Algorithms.isEmpty(groupInfo.name) ? "" : ":" + groupInfo.name); } return groupInfo; }