From f90fc105ab1159f43f536bcacdd1224c2c05bacb Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 7 Jan 2013 18:40:59 +0900 Subject: Simplify singleton class initialization Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1 --- java/src/com/android/inputmethod/latin/LatinIME.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java') diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 1061859df..9d16eb7c5 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -413,14 +413,14 @@ public final class LatinIME extends InputMethodService implements KeyboardAction mPrefs = PreferenceManager.getDefaultSharedPreferences(this); mResources = getResources(); - LatinImeLogger.init(this, mPrefs); + LatinImeLogger.init(this); if (ProductionFlag.IS_EXPERIMENTAL) { - ResearchLogger.getInstance().init(this, mPrefs); + ResearchLogger.getInstance().init(this); } - RichInputMethodManager.init(this, mPrefs); + RichInputMethodManager.init(this); mRichImm = RichInputMethodManager.getInstance(); SubtypeSwitcher.init(this); - KeyboardSwitcher.init(this, mPrefs); + KeyboardSwitcher.init(this); AccessibilityUtils.init(this); super.onCreate(); -- cgit v1.2.3-83-g751a