pull/2459/head
Horis 2 years ago
parent 234c011758
commit 63ff8e2ec0
  1. 6
      app/src/main/java/io/legado/app/service/HttpReadAloudService.kt

@ -167,8 +167,10 @@ class HttpReadAloudService : BaseReadAloudService(),
} }
} }
ensureActive() ensureActive()
downloadErrorNo = 0 response.body!!.byteStream().let { stream ->
return response.body!!.byteStream() downloadErrorNo = 0
return stream
}
} catch (e: Exception) { } catch (e: Exception) {
when (e) { when (e) {
is CancellationException -> throw e is CancellationException -> throw e

Loading…
Cancel
Save