am 0e300c83: Avoid a disk write on UI thread
Merge commit '0e300c83a12f64dbc8668b52bc02ec629abd4ca8' into gingerbread-plus-aosp * commit '0e300c83a12f64dbc8668b52bc02ec629abd4ca8': Avoid a disk write on UI threadmain
commit
38f6ff4289
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue