From 8da205211380d083a1b49f4cc4489ebe5be28249 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Thu, 25 Sep 2014 12:50:11 +0900 Subject: [PATCH] [ML10.1] Adjust call for additional features Bug: 11230254 Change-Id: I7b60d9174d7d267eb1b3cd848cff36cdbea75b12 --- .../latin/settings/AdditionalFeaturesSettingUtils.java | 2 +- .../com/android/inputmethod/latin/settings/SettingsValues.java | 2 +- 2 files changed, 2 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 a18d582a7..1c02d7d63 100644 --- a/java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java +++ b/java-overridable/src/com/android/inputmethod/latin/settings/AdditionalFeaturesSettingUtils.java @@ -35,7 +35,7 @@ public class AdditionalFeaturesSettingUtils { // do nothing. } - public static void readAdditionalFeaturesPreferencesIntoArray( + public static void readAdditionalFeaturesPreferencesIntoArray(final Context context, final SharedPreferences prefs, final int[] additionalFeaturesPreferences) { // do nothing. } diff --git a/java/src/com/android/inputmethod/latin/settings/SettingsValues.java b/java/src/com/android/inputmethod/latin/settings/SettingsValues.java index 964d5ce33..99f761ca6 100644 --- a/java/src/com/android/inputmethod/latin/settings/SettingsValues.java +++ b/java/src/com/android/inputmethod/latin/settings/SettingsValues.java @@ -180,7 +180,7 @@ public class SettingsValues { mAutoCorrectionEnabledPerUserSettings = mAutoCorrectEnabled && !mInputAttributes.mInputTypeNoAutoCorrect; mSuggestionsEnabledPerUserSettings = readSuggestionsEnabled(prefs); - AdditionalFeaturesSettingUtils.readAdditionalFeaturesPreferencesIntoArray( + AdditionalFeaturesSettingUtils.readAdditionalFeaturesPreferencesIntoArray(context, prefs, mAdditionalFeaturesSettingValues); mTextHighlightColorForAddToDictionaryIndicator = res.getColor( R.color.text_decorator_add_to_dictionary_indicator_text_highlight_color);