Merge "Rationalize how to use AdditionalFeaturesSettingUtils"

This commit is contained in:
Ken Wakasa 2013-08-12 01:36:46 +00:00 committed by Android (Google) Code Review
commit 66a63db2d5

View File

@ -229,10 +229,10 @@ public final class SettingsFragment extends InputMethodSettingsFragment
if (!Settings.readFromBuildConfigIfGestureInputEnabled(res)) { if (!Settings.readFromBuildConfigIfGestureInputEnabled(res)) {
removePreference(Settings.PREF_GESTURE_SETTINGS, getPreferenceScreen()); removePreference(Settings.PREF_GESTURE_SETTINGS, getPreferenceScreen());
} else {
AdditionalFeaturesSettingUtils.addAdditionalFeaturesPreferences(context, this);
} }
AdditionalFeaturesSettingUtils.addAdditionalFeaturesPreferences(context, this);
setupKeyLongpressTimeoutSettings(prefs, res); setupKeyLongpressTimeoutSettings(prefs, res);
setupKeypressVibrationDurationSettings(prefs, res); setupKeypressVibrationDurationSettings(prefs, res);
setupKeypressSoundVolumeSettings(prefs, res); setupKeypressSoundVolumeSettings(prefs, res);