Fixed default preference issue.
Change-Id: I6d12bc054fde0fe3ea03b673e7b5b7d7f8db8d54
This commit is contained in:
parent
fda1ae71b5
commit
c9a181b1b3
1 changed files with 1 additions and 0 deletions
|
@ -345,6 +345,7 @@ public class LatinIME extends InputMethodService
|
|||
//setStatusIcon(R.drawable.ime_qwerty);
|
||||
mResources = getResources();
|
||||
final Configuration conf = mResources.getConfiguration();
|
||||
PreferenceManager.setDefaultValues(this, R.xml.prefs, false);
|
||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
mLanguageSwitcher = new LanguageSwitcher(this);
|
||||
mLanguageSwitcher.loadLocales(prefs);
|
||||
|
|
Loading…
Reference in a new issue