* commit '2580eb60a356ecb854185e815f8a9654fdb0848d': Locale string comparisons must ignore case.
This commit is contained in:
@@ -168,7 +168,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