Fix bug where the default TTS Service country is initialized to the default language.
This commit is contained in:
@@ -148,7 +148,7 @@ public class TtsService extends Service implements OnCompletionListener {
|
|||||||
|
|
||||||
|
|
||||||
private void setDefaultSettings() {
|
private void setDefaultSettings() {
|
||||||
setLanguage(this.getDefaultLanguage(), getDefaultLanguage(), getDefaultLocVariant());
|
setLanguage(this.getDefaultLanguage(), getDefaultCountry(), getDefaultLocVariant());
|
||||||
|
|
||||||
// speech rate
|
// speech rate
|
||||||
setSpeechRate(getDefaultRate());
|
setSpeechRate(getDefaultRate());
|
||||||
|
|||||||
Reference in New Issue
Block a user