Merge remote-tracking branch 'origin/master'

This commit is contained in:
kunfei
2022-10-20 14:09:08 +08:00
@@ -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