am 999f23e2
: Locale string comparisons must ignore case.
* commit '999f23e2c304bde3a5c27f7f882d4616f5abdf9e': Locale string comparisons must ignore case.
This commit is contained in:
@@ -141,7 +141,7 @@ public class TtsEngineSettingsFragment extends SettingsPreferenceFragment implem
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user