Commit a230d63c authored by Viktor De Pasquale's avatar Viktor De Pasquale

Fixed having an error doesn't inform external listeners

parent 2bb39bee
...@@ -76,7 +76,7 @@ abstract class RemoteFileService : NotificationService() { ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment