|
@@ -117,7 +117,7 @@ class DownloadNotificationManager(
|
|
@Suppress("MagicNumber")
|
|
@Suppress("MagicNumber")
|
|
fun dismissNotification() {
|
|
fun dismissNotification() {
|
|
Handler(Looper.getMainLooper()).postDelayed({
|
|
Handler(Looper.getMainLooper()).postDelayed({
|
|
- notificationManager.cancel(id)
|
|
|
|
|
|
+ notificationManager.cancelAll()
|
|
}, 2000)
|
|
}, 2000)
|
|
}
|
|
}
|
|
|
|
|