fix #470 Unable to parse kml in kmz

This commit is contained in:
Peter Storch
2020-10-22 19:22:46 +02:00
parent 433ab01ece
commit bbb91fedc5
@@ -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;
}