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

Commit 0e300c83 authored by Ken Wakasa's avatar Ken Wakasa
Browse files

Avoid a disk write on UI thread

bug: 2983837
Change-Id: I4eca20fb4defcf149788032a98fe5894b57e1e19
parent 2dd905b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ public class LanguageSwitcher {
        SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mIme);
        Editor editor = sp.edit();
        editor.putString(LatinIME.PREF_INPUT_LANGUAGE, getInputLanguage());
        editor.commit();
        editor.apply();
    }

    static String toTitleCase(String s) {