Rationalize how to use AdditionalFeaturesSettingUtils

It should be called regardless of the gesture input being enabled or not

Change-Id: I223a823ef18389227fc04d000cc7bf750797ba31
main
Ken Wakasa 2013-08-10 00:32:07 +09:00
parent cfcf6660fc
commit 02938c6baf
1 changed files with 2 additions and 2 deletions

View File

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