Mark isDownloading flag as volatile (maybe fixes #3219)

(cherry picked from commit 3d43473bf8f4c7eaea28063f2b71e77394dc7f79)
This commit is contained in:
arkon 2020-05-31 11:42:12 -04:00 committed by Jobobby04
parent 07f50af05b
commit 1ee9da4c91

View File

@ -32,6 +32,7 @@ internal class DownloadNotifier(private val context: Context) {
/**
* Status of download. Used for correct notification icon.
*/
@Volatile
private var isDownloading = false
/**