Ensure the tests pass on Android 4.0 - 4.2.

This commit is contained in:
Reece H. Dunn
2013-07-28 15:34:30 +01:00
parent 3d2d277a10
commit bb0a8a3c7a
3 changed files with 44 additions and 59 deletions
@@ -117,8 +117,10 @@ public class SpeechSynthesis {
if (name.equals("fa-pin")) {
// Android locales do not support scripts, so fa-Latn is not possible for Farsi Pinglish:
locale = null;
}
else if (name.equals("en-sc")) {
} else if (name.equals("om")) {
// This is an experimental voice that is not currently well tested to be used.
locale = null;
} else if (name.equals("en-sc")) {
// 'SC' is not a country code.
locale = new Locale("en", "GB", "scotland");
} else if (name.equals("en-wi")) {