diff options
author | 2014-10-10 21:39:59 +0900 | |
---|---|---|
committer | 2014-10-14 20:19:15 +0900 | |
commit | b256bb57918409d09892557f5902955927946297 (patch) | |
tree | b21a9471919411c1630818cf52148a72407ca7e4 /java-overridable/src/com | |
parent | 95f100ba404c3f905739db628ec71b7c1b7b5ace (diff) | |
download | latinime-b256bb57918409d09892557f5902955927946297.tar.gz latinime-b256bb57918409d09892557f5902955927946297.tar.xz latinime-b256bb57918409d09892557f5902955927946297.zip |
[ML24] Add facilities to read the script of a subtype
...or more exactly, the script of the keyboard layout set associated
with a given subtype.
Bug: 11230254
Change-Id: I82f5fc81ecffc561781816008c853be6ff9438dd
Diffstat (limited to 'java-overridable/src/com')
-rw-r--r-- | java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java | 4 |
1 files changed, 3 insertions, 1 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 747a3b06e..f9ebb9702 100644 --- a/java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java +++ b/java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java @@ -18,6 +18,7 @@ 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; @@ -48,7 +49,8 @@ public class AdditionalFeaturesSettingUtils { public static RichInputMethodSubtype createRichInputMethodSubtype( @Nonnull final RichInputMethodManager imm, - @Nonnull final InputMethodSubtype subtype) { + @Nonnull final InputMethodSubtype subtype, + final Resources resources) { return new RichInputMethodSubtype(subtype); } } |