Use en-JM instead of en-029 and es-MX instead of es-419.

Android does not support UN M.49 territory codes. Instead:
  *  4.2 and earlier return an empty string;
  *  4.3 throws a MissingResourceException.
This commit is contained in:
Reece H. Dunn
2013-07-28 18:33:24 +01:00
parent 90c4af631c
commit d6308605de
3 changed files with 13 additions and 16 deletions
@@ -47,10 +47,10 @@ public class TextToSpeechTestCase extends AndroidTestCase
{
try
{
// Wait until the text-to-speech engine is initialised (max: 5 seconds):
// Wait until the text-to-speech engine is initialised (max: 20 seconds):
mEngine = new TextToSpeech(getContext(), mInitCallback);
for (int count = 0; !mInitialised && count < 20; ++count)
for (int count = 0; !mInitialised && count < (4 * 20); ++count)
{
Thread.sleep(250);
}