From 32aad321087e546913dafebaae267dcac4ec1750 Mon Sep 17 00:00:00 2001 From: Sharanyu Pillai Date: Thu, 15 Feb 2024 14:45:36 -0500 Subject: [PATCH] Manually called Thread.interrupt() to re-interrupt the current thread. --- .../dennisguse/opentracks/io/file/exporter/KmzTrackExporter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/dennisguse/opentracks/io/file/exporter/KmzTrackExporter.java b/src/main/java/de/dennisguse/opentracks/io/file/exporter/KmzTrackExporter.java index a13efaa3b..786831975 100644 --- a/src/main/java/de/dennisguse/opentracks/io/file/exporter/KmzTrackExporter.java +++ b/src/main/java/de/dennisguse/opentracks/io/file/exporter/KmzTrackExporter.java @@ -83,6 +83,7 @@ public boolean writeTrack(List tracks, @NonNull OutputStream outputStream return true; } catch (InterruptedException | IOException e) { Log.e(TAG, "Unable to write track", e); + Thread.currentThread().interrupt(); return false; } }