diff --git a/android/src/main/kotlin/com/github/florent37/assets_audio_player/notification/ImageDownloader.kt b/android/src/main/kotlin/com/github/florent37/assets_audio_player/notification/ImageDownloader.kt index ee42f709..d1c23ed1 100644 --- a/android/src/main/kotlin/com/github/florent37/assets_audio_player/notification/ImageDownloader.kt +++ b/android/src/main/kotlin/com/github/florent37/assets_audio_player/notification/ImageDownloader.kt @@ -142,7 +142,9 @@ object ImageDownloader { continuation.resume(placeHolder) } } catch (t : Throwable) { - continuation.resumeWithException(Exception("failed to download $filePath")) + if(t.message != "Already resumed"){ + continuation.resumeWithException(Exception("failed to download $filePath")) + } } }