diff --git a/src/com/android/settings/accessibility/KeyboardVibrationTogglePreferenceController.java b/src/com/android/settings/accessibility/KeyboardVibrationTogglePreferenceController.java index 15bdda49f02..3ba0f0d0841 100644 --- a/src/com/android/settings/accessibility/KeyboardVibrationTogglePreferenceController.java +++ b/src/com/android/settings/accessibility/KeyboardVibrationTogglePreferenceController.java @@ -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) {