From df63877a05df0c55a34d6f61b57d1bcb35e40818 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 29 Mar 2022 16:27:58 +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/TTSReadAloudService.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/service/TTSReadAloudService.kt b/app/src/main/java/io/legado/app/service/TTSReadAloudService.kt index cb25801bd..38204af68 100644 --- a/app/src/main/java/io/legado/app/service/TTSReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/TTSReadAloudService.kt @@ -15,7 +15,6 @@ import io.legado.app.lib.dialogs.SelectItem import io.legado.app.model.ReadAloud import io.legado.app.model.ReadBook import io.legado.app.utils.* -import java.util.* /** * 本地朗读 @@ -60,7 +59,6 @@ class TTSReadAloudService : BaseReadAloudService(), TextToSpeech.OnInitListener if (status == TextToSpeech.SUCCESS) { textToSpeech?.let { it.setOnUtteranceProgressListener(ttsUtteranceListener) - it.language = Locale.CHINA ttsInitFinish = true play() }