Settings: gestures: Enable Cycle through ringer modes for all

* why should oplus have all the fun

Signed-off-by: aswin7469 <aswinas@pixysos.com>
This commit is contained in:
aswin7469
2024-01-11 21:30:28 +05:30
committed by Joey
parent 9fab4f5616
commit 1a26a26df3

View File

@@ -81,9 +81,7 @@ public class PreventRingingGesturePreferenceController extends AbstractPreferenc
mPreferenceCategory = screen.findPreference(getPreferenceKey());
mVibratePref = makeRadioPreference(KEY_VIBRATE, R.string.prevent_ringing_option_vibrate);
mMutePref = makeRadioPreference(KEY_MUTE, R.string.prevent_ringing_option_mute);
if (!mContext.getResources().getBoolean(com.android.internal.R.bool.config_hasAlertSlider)) {
mCyclePref = makeRadioPreference(KEY_CYCLE, R.string.prevent_ringing_option_cycle);
}
mCyclePref = makeRadioPreference(KEY_CYCLE, R.string.prevent_ringing_option_cycle);
if (mPreferenceCategory != null) {
mSettingObserver = new SettingObserver(mPreferenceCategory);