Locale string comparisons must ignore case.

The spec does not specify case sensitivity and support
for 3 letter locales is currently poor.

bug:5885830
Change-Id: I1b8f582bd19b1b0aed220036c5f17904478dba46
diff --git a/src/com/android/settings/tts/TtsEngineSettingsFragment.java b/src/com/android/settings/tts/TtsEngineSettingsFragment.java
index 3f740d7..18d1fdb 100644
--- a/src/com/android/settings/tts/TtsEngineSettingsFragment.java
+++ b/src/com/android/settings/tts/TtsEngineSettingsFragment.java
@@ -141,7 +141,7 @@
             if (loc != null){
                 entries[i] = loc.getDisplayName();
                 entryValues[i] = availableLangs.get(i);
-                if (entryValues[i].equals(currentLocale)) {
+                if (availableLangs.get(i).equalsIgnoreCase(currentLocale)) {
                     selectedLanguageIndex = i;
                 }
             }