Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf3f7abb authored by Narayan Kamath's avatar Narayan Kamath Committed by Android Git Automerger
Browse files

am 999f23e2: Locale string comparisons must ignore case.

* commit '999f23e2':
  Locale string comparisons must ignore case.
parents d96abecc 999f23e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
                }
            }