From 3d43473bf8f4c7eaea28063f2b71e77394dc7f79 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 31 May 2020 11:42:12 -0400 Subject: [PATCH] Mark isDownloading flag as volatile (maybe fixes #3219) --- .../java/eu/kanade/tachiyomi/data/download/DownloadNotifier.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadNotifier.kt b/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadNotifier.kt index 85769b45d6..2dde19e794 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadNotifier.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadNotifier.kt @@ -32,6 +32,7 @@ internal class DownloadNotifier(private val context: Context) { /** * Status of download. Used for correct notification icon. */ + @Volatile private var isDownloading = false /**