diff options
author | 2013-08-13 17:02:49 +0900 | |
---|---|---|
committer | 2013-08-13 17:03:26 +0900 | |
commit | d1d607287de4d0060a862aa19cb128b7c256767c (patch) | |
tree | 249fabedc0c0d9f57c813d2c8276c98336eefc9c /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 0adc8a2ad3630aa01984b4b6ccb2b7ca94cf8948 (diff) | |
download | latinime-d1d607287de4d0060a862aa19cb128b7c256767c.tar.gz latinime-d1d607287de4d0060a862aa19cb128b7c256767c.tar.xz latinime-d1d607287de4d0060a862aa19cb128b7c256767c.zip |
Remove audio and haptic feedback while key repeating
Bug: 6522943
Change-Id: Iad1b11172e47bfbae2b4129361a56b9d793f8f62
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index a7798e335..b14ee317e 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -2703,8 +2703,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen // No need to feedback while sliding input. return; } - if (isRepeatKey && code == Constants.CODE_DELETE && !mConnection.canDeleteCharacters()) { - // No need to feedback when repeating delete key will have no effect. + if (isRepeatKey) { + // No need to feedback when repeating key. return; } AudioAndHapticFeedbackManager.getInstance().hapticAndAudioFeedback(code, keyboardView); |