From 348d80446be198fdea167b8dda34b892d46c9f12 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 21 Sep 2021 23:43:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/service/HttpReadAloudService.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt index 12f9b35ab..db614ca7f 100644 --- a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt @@ -265,6 +265,7 @@ class HttpReadAloudService : BaseReadAloudService(), errorNo++ if (errorNo >= 3) { toastOnUi("朗读连续3次错误, 最后一次错误代码($what, $extra)") + ReadAloud.pause(this) } else { playNext() }