forked from upstream-mirrors/OpenTracks
@@ -307,7 +307,7 @@ public class KMLTrackExporter implements TrackExporter {
|
||||
|
||||
printWriter.println("<name>" + StringUtils.formatCData(track.getName()) + "</name>");
|
||||
printWriter.println("<description>" + StringUtils.formatCData(track.getDescription()) + "</description>");
|
||||
printWriter.println("<icon>" + StringUtils.formatCData(track.getIcon()) + "</icon>");
|
||||
printWriter.println("<icon>" + StringUtils.formatCData(track.getActivityTypeId()) + "</icon>");
|
||||
printWriter.println("<opentracks:trackid>" + track.getUuid() + "</opentracks:trackid>");
|
||||
|
||||
printWriter.println("<styleUrl>#" + TRACK_STYLE + "</styleUrl>");
|
||||
|
||||
@@ -112,7 +112,7 @@ public class TrackImporter {
|
||||
}
|
||||
}
|
||||
|
||||
track.setIcon(icon != null ? icon : "");
|
||||
track.setActivityTypeId(icon != null ? icon : "");
|
||||
}
|
||||
|
||||
void finish() {
|
||||
|
||||
Reference in New Issue
Block a user