Fix #7247
This commit is contained in:
parent
d1d785e336
commit
ebf0548e91
2 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
Thx - Hardy
|
||||
|
||||
-->
|
||||
<string name="tts_initialization_error">Cannot initialize TTS engine</string>
|
||||
<string name="layer_osm_edits">OSM Edits</string>
|
||||
<string name="quick_action_contour_lines_descr">Tapping this action button shows or hides contour lines on the map</string>
|
||||
<string name="quick_action_contour_lines_show">Show contour lines</string>
|
||||
|
|
|
@ -199,6 +199,7 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer {
|
|||
if (status != TextToSpeech.SUCCESS) {
|
||||
ttsVoiceStatus = "NO INIT SUCCESS";
|
||||
internalClear();
|
||||
((OsmandApplication) ctx.getApplicationContext()).showToastMessage(ctx.getString(R.string.tts_initialization_error));
|
||||
} else if (mTts != null) {
|
||||
speechAllowed = true;
|
||||
switch (mTts.isLanguageAvailable(newLocale)) {
|
||||
|
|
Loading…
Reference in a new issue