Mark isDownloading flag as volatile (maybe fixes #3219)
This commit is contained in:
parent
2194c4ba28
commit
3d43473bf8
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ internal class DownloadNotifier(private val context: Context) {
|
|||
/**
|
||||
* Status of download. Used for correct notification icon.
|
||||
*/
|
||||
@Volatile
|
||||
private var isDownloading = false
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue