Rationalize how to use AdditionalFeaturesSettingUtils
It should be called regardless of the gesture input being enabled or not Change-Id: I223a823ef18389227fc04d000cc7bf750797ba31main
parent
cfcf6660fc
commit
02938c6baf
|
@ -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