mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +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 {
|
||||
if (subject is Manager)
|
||||
handleAPK(subject)
|
||||
}
|
||||
}.doOnError { send(0f, subject) }
|
||||
|
||||
private fun ResponseBody.toStream(id: Int, subject: DownloadSubject): InputStream {
|
||||
val maxRaw = contentLength()
|
||||
|
Loading…
Reference in New Issue
Block a user