mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-26 08:07:27 +00:00
Fixed having an error doesn't inform external listeners
This commit is contained in:
parent
2bb39bee2f
commit
a230d63cf9
@ -76,7 +76,7 @@ abstract class RemoteFileService : NotificationService() {
|
|||||||
}.doOnComplete {
|
}.doOnComplete {
|
||||||
if (subject is Manager)
|
if (subject is Manager)
|
||||||
handleAPK(subject)
|
handleAPK(subject)
|
||||||
}
|
}.doOnError { send(0f, subject) }
|
||||||
|
|
||||||
private fun ResponseBody.toStream(id: Int, subject: DownloadSubject): InputStream {
|
private fun ResponseBody.toStream(id: Int, subject: DownloadSubject): InputStream {
|
||||||
val maxRaw = contentLength()
|
val maxRaw = contentLength()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user