[ML10.1] Adjust call for additional features

Bug: 11230254
Change-Id: I7b60d9174d7d267eb1b3cd848cff36cdbea75b12
This commit is contained in:
Jean Chalard 2014-09-25 12:50:11 +09:00
parent 145f05d637
commit 8da2052113
2 changed files with 2 additions and 2 deletions

View file

@ -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.
}

View file

@ -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);