summaryrefslogtreecommitdiffstats
path: root/java-overridable/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-10-10 21:39:59 +0900
committerJean Chalard <jchalard@google.com>2014-10-14 20:19:15 +0900
commitb256bb57918409d09892557f5902955927946297 (patch)
treeb21a9471919411c1630818cf52148a72407ca7e4 /java-overridable/src
parent95f100ba404c3f905739db628ec71b7c1b7b5ace (diff)
downloadandroid_packages_inputmethods_LatinIME-b256bb57918409d09892557f5902955927946297.tar.gz
android_packages_inputmethods_LatinIME-b256bb57918409d09892557f5902955927946297.tar.bz2
android_packages_inputmethods_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')
-rw-r--r--java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java4
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);
}
}