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

Commit 38f6ff42 authored by Ken Wakasa's avatar Ken Wakasa Committed by Android Git Automerger
Browse files

am 0e300c83: Avoid a disk write on UI thread

Merge commit '0e300c83' into gingerbread-plus-aosp

* commit '0e300c83':
  Avoid a disk write on UI thread
parents 47385b0c 0e300c83
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) {