Remove group alias
This commit is contained in:
parent
311771f03c
commit
ec03c40c1b
1 changed files with 0 additions and 5 deletions
|
@ -105,7 +105,6 @@ public class ItinerarySaveHelper {
|
||||||
writeNotNullText(serializer, "osmand:name", group.name);
|
writeNotNullText(serializer, "osmand:name", group.name);
|
||||||
writeNotNullText(serializer, "osmand:type", group.type);
|
writeNotNullText(serializer, "osmand:type", group.type);
|
||||||
writeNotNullText(serializer, "osmand:path", group.path);
|
writeNotNullText(serializer, "osmand:path", group.path);
|
||||||
writeNotNullText(serializer, "osmand:alias", group.alias);
|
|
||||||
writeNotNullText(serializer, "osmand:categories", group.categories);
|
writeNotNullText(serializer, "osmand:categories", group.categories);
|
||||||
|
|
||||||
serializer.endTag(null, "osmand:" + ITINERARY_GROUP);
|
serializer.endTag(null, "osmand:" + ITINERARY_GROUP);
|
||||||
|
@ -235,7 +234,6 @@ public class ItinerarySaveHelper {
|
||||||
public String name;
|
public String name;
|
||||||
public String type;
|
public String type;
|
||||||
public String path;
|
public String path;
|
||||||
public String alias;
|
|
||||||
public String categories;
|
public String categories;
|
||||||
|
|
||||||
public static ItineraryGroupInfo createGroupInfo(OsmandApplication app, ItineraryGroup group) {
|
public static ItineraryGroupInfo createGroupInfo(OsmandApplication app, ItineraryGroup group) {
|
||||||
|
@ -255,9 +253,6 @@ public class ItinerarySaveHelper {
|
||||||
path = path.substring(gpxDir.length() + 1);
|
path = path.substring(gpxDir.length() + 1);
|
||||||
}
|
}
|
||||||
groupInfo.path = path;
|
groupInfo.path = path;
|
||||||
groupInfo.alias = groupInfo.type + ":" + path;
|
|
||||||
} else {
|
|
||||||
groupInfo.alias = groupInfo.type + (Algorithms.isEmpty(groupInfo.name) ? "" : ":" + groupInfo.name);
|
|
||||||
}
|
}
|
||||||
return groupInfo;
|
return groupInfo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue