Use KEYBOARD_TAP instead of VIRTUAL_KEY for vibration
diff --git a/src/com/android/inputmethod/latin/LatinIME.java b/src/com/android/inputmethod/latin/LatinIME.java
index 18b277c..cb3711c 100644
--- a/src/com/android/inputmethod/latin/LatinIME.java
+++ b/src/com/android/inputmethod/latin/LatinIME.java
@@ -1737,7 +1737,7 @@
return;
}
if (mInputView != null) {
- mInputView.performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY,
+ mInputView.performHapticFeedback(HapticFeedbackConstants.KEYBOARD_TAP,
HapticFeedbackConstants.FLAG_IGNORE_GLOBAL_SETTING);
}
}