Merge branch 'master' of https://github.com/gedoor/legado into master

pull/399/head
Robot 5 years ago
commit b6d2cf43f8
  1. 2
      app/src/main/java/io/legado/app/service/DownloadService.kt

@ -69,11 +69,9 @@ class DownloadService : BaseService() {
IntentAction.stop -> {
val downloadId = intent.getLongExtra("downloadId", 0)
downloads.remove(downloadId)
if (downloads.isEmpty()) {
stopSelf()
}
}
}
return super.onStartCommand(intent, flags, startId)
}

Loading…
Cancel
Save