From 223602ef207db5524c1b563a4f25a2617cf78be1 Mon Sep 17 00:00:00 2001 From: madwasp79 Date: Tue, 25 Jun 2019 10:06:53 +0300 Subject: [PATCH] attempt to fix --- OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java b/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java index 2c5cc90af4..0c1d07c8b0 100644 --- a/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java +++ b/OsmAnd/src/net/osmand/plus/voice/TTSCommandPlayerImpl.java @@ -219,8 +219,8 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer { if (mTts.isLanguageAvailable(Locale.getDefault()) > 0) { mTts.setLanguage(Locale.getDefault()); } else { - mTts.setLanguage(Locale.ENGLISH); // or what? is english locale always available? cant find info - Toast.makeText(act, "TTS language not available, set to ENGLISH", Toast.LENGTH_LONG).show(); + //are there any tts language that available everywhere? ENGLISH maybe? + Toast.makeText(act, "TTS language not available", Toast.LENGTH_LONG).show(); } } if(speechRate != 1) {