Fix DownloadService stopped during onFinish call

This commit is contained in:
FooIbar authored and renovate[bot] committed 2024-04-04 19:17:35 +08:00
1 parent 19120038c5
commit f5fcd96a1e
1 file changed
+1 -1
@@ -148,9 +148,9 @@ class DownloadService : Service(), DownloadManager.DownloadListener, CoroutineSc
ACTION_CLEAR -> {
clear()
checkStopSelf()
}
}
checkStopSelf()
}
override fun onBind(intent: Intent) = error("No bindService")