am 66a63db2: Merge "Rationalize how to use AdditionalFeaturesSettingUtils"
* commit '66a63db2d5c1613bdaa106f0c2830972e39f9f4e': Rationalize how to use AdditionalFeaturesSettingUtilsmain
commit
ba218cd792
|
@ -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