Skip to content

Commit

Permalink
TouchGestures: Change vibration effect
Browse files Browse the repository at this point in the history
  • Loading branch information
SKULSHADY committed Jan 15, 2020
1 parent 5657a13 commit 9f6a5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/android/touch/gestures/KeyHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ private void doHapticFeedback() {
final boolean enabled = Settings.System.getInt(mContext.getContentResolver(),
Settings.System.TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK, 1) != 0;
if (enabled) {
mVibrator.vibrate(VibrationEffect.get(VibrationEffect.EFFECT_CLICK));
mVibrator.vibrate(VibrationEffect.get(VibrationEffect.EFFECT_HEAVY_CLICK));
}
}
}
Expand Down

0 comments on commit 9f6a5af

Please sign in to comment.