mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-01 05:46:19 +00:00
When using assistive technology like TalkBack and not accessing either the eSpeak application or the Android TTS settings directly, the voice data would previously not be installed/upgraded correctly. The approach here is to move the logic to onIsLanguageAvailable so that if the espeak voice data is not installed or is upgradable then trigger an install of the voice data and return TextToSpeech.LANG_MISSING_DATA.