diff options
author | 2014-10-15 23:23:30 +0900 | |
---|---|---|
committer | 2014-10-16 17:09:27 +0900 | |
commit | f13487dfbf2b7547b48a5e9123235ee8a1d660c8 (patch) | |
tree | ab2dedb692c67f475ba9e9ef9759675eb71d19b3 /java-overridable | |
parent | 8fff6ae68b3c2e31687370fc867d3b6098938be7 (diff) | |
download | latinime-f13487dfbf2b7547b48a5e9123235ee8a1d660c8.tar.gz latinime-f13487dfbf2b7547b48a5e9123235ee8a1d660c8.tar.xz latinime-f13487dfbf2b7547b48a5e9123235ee8a1d660c8.zip |
[ML25] Add an hasDict method.
We used to have separate methods for existence of dicts
according to whether it's a file or a resource. This unifies both.
Bug: 11230254
Bug: 17979623
Change-Id: I728773461f3465f756d06297c3f3bee34390c3e6
Diffstat (limited to 'java-overridable')
-rw-r--r-- | java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java b/java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java index f9ebb9702..1dfaf259e 100644 --- a/java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java +++ b/java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java @@ -18,7 +18,6 @@ package com.android.inputmethod.latin.settings; import android.content.Context; import android.content.SharedPreferences; -import android.content.res.Resources; import android.preference.PreferenceFragment; import android.view.inputmethod.InputMethodSubtype; @@ -50,7 +49,7 @@ public class AdditionalFeaturesSettingUtils { public static RichInputMethodSubtype createRichInputMethodSubtype( @Nonnull final RichInputMethodManager imm, @Nonnull final InputMethodSubtype subtype, - final Resources resources) { + final Context context) { return new RichInputMethodSubtype(subtype); } } |