Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5146bc8c authored by Wilson Wu's avatar Wilson Wu Committed by Android (Google) Code Review
Browse files

Merge "Simplify default keyboard vibration settings value" into main

parents 78beeb1d 483d90b5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -154,8 +154,8 @@ public class KeyboardVibrationTogglePreferenceController extends TogglePreferenc
    }

    private boolean isKeyboardVibrationSwitchEnabled() {
        return Settings.System.getInt(mContext.getContentResolver(), KEYBOARD_VIBRATION_ENABLED,
                mVibrator.isDefaultKeyboardVibrationEnabled() ? ON : OFF) == ON;
        return Settings.System.getInt(
                mContext.getContentResolver(), KEYBOARD_VIBRATION_ENABLED, ON) == ON;
    }

    private boolean updateKeyboardVibrationSetting(boolean enable) {