Merge "[ML10.1] Adjust call for additional features"

main
Jean Chalard 2014-09-25 08:19:46 +00:00 committed by Android (Google) Code Review
commit 2828d9eda7
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);