diff options
| author | Ken Wakasa <kwakasa@google.com> | 2013-08-13 21:50:20 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-08-13 21:50:20 +0000 |
| commit | ae59ce026213cd9c92f8202ccb2a337e6495119d (patch) | |
| tree | d8ee987aaa87b9db44a910d2938126cc4e6d0336 /java/src | |
| parent | 3cc550248b308b49db677ffa7ee716660373c3a6 (diff) | |
| parent | d1d607287de4d0060a862aa19cb128b7c256767c (diff) | |
Merge "Remove audio and haptic feedback while key repeating"
Diffstat (limited to 'java/src')
| -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); |
