diff options
author | 2014-10-16 08:39:33 +0000 | |
---|---|---|
committer | 2014-10-16 08:39:34 +0000 | |
commit | 544da4a2ea4ce9dbad24f8ed55c29276033d47b2 (patch) | |
tree | 1e3341031a11c00b3aa3dd04dd6bb50d6203f6d9 /java/src/com/android/inputmethod/latin/RichInputMethodManager.java | |
parent | 62ef21054c63b40f18c8844a9b2ab5d2f9702d86 (diff) | |
parent | f13487dfbf2b7547b48a5e9123235ee8a1d660c8 (diff) | |
download | latinime-544da4a2ea4ce9dbad24f8ed55c29276033d47b2.tar.gz latinime-544da4a2ea4ce9dbad24f8ed55c29276033d47b2.tar.xz latinime-544da4a2ea4ce9dbad24f8ed55c29276033d47b2.zip |
Merge "[ML25] Add an hasDict method."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/RichInputMethodManager.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/RichInputMethodManager.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/RichInputMethodManager.java b/java/src/com/android/inputmethod/latin/RichInputMethodManager.java index b0c0725bb..e6df35bea 100644 --- a/java/src/com/android/inputmethod/latin/RichInputMethodManager.java +++ b/java/src/com/android/inputmethod/latin/RichInputMethodManager.java @@ -52,7 +52,7 @@ public class RichInputMethodManager { private static final RichInputMethodManager sInstance = new RichInputMethodManager(); - private Resources mResources; + private Context mContext; private InputMethodManagerCompatWrapper mImmWrapper; private InputMethodInfoCache mInputMethodInfoCache; final HashMap<InputMethodInfo, List<InputMethodSubtype>> @@ -86,7 +86,7 @@ public class RichInputMethodManager { return; } mImmWrapper = new InputMethodManagerCompatWrapper(context); - mResources = context.getResources(); + mContext = context; mInputMethodInfoCache = new InputMethodInfoCache( mImmWrapper.mImm, context.getPackageName()); @@ -309,7 +309,7 @@ public class RichInputMethodManager { public RichInputMethodSubtype createCurrentRichInputMethodSubtype( final InputMethodSubtype rawSubtype) { return AdditionalFeaturesSettingUtils.createRichInputMethodSubtype(this, rawSubtype, - mResources); + mContext); } public boolean hasMultipleEnabledIMEsOrSubtypes(final boolean shouldIncludeAuxiliarySubtypes) { |