commit | 4b0dba4cd8c9a0215e457a7c6422a069b12af443 | [log] [tgz] |
---|---|---|
author | Jean Chalard <jchalard@google.com> | Mon Sep 22 17:41:37 2014 +0900 |
committer | Jean Chalard <jchalard@google.com> | Mon Sep 22 17:41:37 2014 +0900 |
tree | 40fffe764a6bdd96a18bb9f7640aa7adb35c6b1e | |
parent | 8f116d7cdab57ef6bdccb870240d548a437ca0c9 [diff] |
[ML9.1] Add option for multi-lingual support Bug: 11230254 Change-Id: I15d42fad155142fa6f556f13e84cad489be00dbd
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 6543003..a18d582 100644 --- a/java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java +++ b/java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java
@@ -18,8 +18,7 @@ import android.content.Context; import android.content.SharedPreferences; - -import com.android.inputmethodcommon.InputMethodSettingsFragment; +import android.preference.PreferenceFragment; /** * Utility class for managing additional features settings. @@ -32,7 +31,7 @@ } public static void addAdditionalFeaturesPreferences( - final Context context, final InputMethodSettingsFragment settingsFragment) { + final Context context, final PreferenceFragment settingsFragment) { // do nothing. }
diff --git a/java/src/com/android/inputmethod/latin/settings/AdvancedSettingsFragment.java b/java/src/com/android/inputmethod/latin/settings/AdvancedSettingsFragment.java index a6cb55d..3303ab0 100644 --- a/java/src/com/android/inputmethod/latin/settings/AdvancedSettingsFragment.java +++ b/java/src/com/android/inputmethod/latin/settings/AdvancedSettingsFragment.java
@@ -109,6 +109,8 @@ removePreference(Settings.PREF_ENABLE_METRICS_LOGGING); } + AdditionalFeaturesSettingUtils.addAdditionalFeaturesPreferences(context, this); + setupKeypressVibrationDurationSettings(); setupKeypressSoundVolumeSettings(); refreshEnablingsOfKeypressSoundAndVibrationSettings();