pull/1344/head
gedoor 3 years ago
parent fdc42208c7
commit e99a16bac1
  1. 1
      app/src/main/java/io/legado/app/service/DownloadService.kt

@ -67,6 +67,7 @@ class DownloadService : BaseService() {
}
IntentAction.stop -> {
val downloadId = intent.getLongExtra("downloadId", 0)
downloadManager.remove(downloadId)
downloads.remove(downloadId)
notificationManager.cancel(downloadId.toInt())
}

Loading…
Cancel
Save