Merge "Rationalize how to use AdditionalFeaturesSettingUtils"
commit
66a63db2d5
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue