Fix DownloadService stopped during onFinish call
This commit is contained in:
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")
|
||||
|
||||
Reference in new issue
Block a user