Update TTSCommandPlayerImpl.java
This commit is contained in:
parent
d763ea837a
commit
2f804daf25
1 changed files with 2 additions and 1 deletions
|
@ -205,7 +205,8 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Locale constructor supports 'language, region, variant'
|
// Locale constructor supports 'language, region, variant'
|
||||||
Locale newLocale0 = new Locale(lsplit[0], lregion, lvariant);
|
//Locale newLocale0 = new Locale(lsplit[0], lregion, lvariant); //Setting variant here seems to cause errors on some systems
|
||||||
|
Locale newLocale0 = new Locale(lsplit[0], lregion);
|
||||||
// #3344: Try Locale builder instead (only available from API 21), also supports script (we support as 4 letters)
|
// #3344: Try Locale builder instead (only available from API 21), also supports script (we support as 4 letters)
|
||||||
if (android.os.Build.VERSION.SDK_INT >= 21) {
|
if (android.os.Build.VERSION.SDK_INT >= 21) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue