From c9a181b1b340012fbc8c32d23a3294364a7ad27b Mon Sep 17 00:00:00 2001 From: Yohei Fujii Date: Tue, 17 Aug 2010 18:07:54 +0900 Subject: [PATCH] Fixed default preference issue. Change-Id: I6d12bc054fde0fe3ea03b673e7b5b7d7f8db8d54 --- java/src/com/android/inputmethod/latin/LatinIME.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 155e8cbba..b059b6cfe 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -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);