mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
fix #470 Unable to parse kml in kmz
This commit is contained in:
@@ -175,7 +175,7 @@ public class KmzTrackImporter implements TrackImporter {
|
||||
String fileName = zipEntry.getName();
|
||||
if (KmzTrackExporter.KMZ_KML_FILE.equals(fileName)) {
|
||||
trackId = parseKml(zipInputStream);
|
||||
if (trackId != null) {
|
||||
if (trackId == null) {
|
||||
Log.d(TAG, "Unable to parse kml in kmz");
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user