am 0e300c83: Avoid a disk write on UI thread

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

* commit '0e300c83a12f64dbc8668b52bc02ec629abd4ca8':
  Avoid a disk write on UI thread
main
Ken Wakasa 2010-09-08 20:38:38 -07:00 committed by Android Git Automerger
commit 38f6ff4289
1 changed files with 1 additions and 1 deletions

View File

@ -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) {