Mark isDownloading flag as volatile (maybe fixes #3219)
(cherry picked from commit 3d43473bf8f4c7eaea28063f2b71e77394dc7f79)
This commit is contained in:
parent
07f50af05b
commit
1ee9da4c91
@ -32,6 +32,7 @@ internal class DownloadNotifier(private val context: Context) {
|
||||
/**
|
||||
* Status of download. Used for correct notification icon.
|
||||
*/
|
||||
@Volatile
|
||||
private var isDownloading = false
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user