diff options
author | 2013-08-13 21:50:20 +0000 | |
---|---|---|
committer | 2013-08-13 21:50:20 +0000 | |
commit | ae59ce026213cd9c92f8202ccb2a337e6495119d (patch) | |
tree | d8ee987aaa87b9db44a910d2938126cc4e6d0336 /java/src/com/android/inputmethod | |
parent | 3cc550248b308b49db677ffa7ee716660373c3a6 (diff) | |
parent | d1d607287de4d0060a862aa19cb128b7c256767c (diff) | |
download | latinime-ae59ce026213cd9c92f8202ccb2a337e6495119d.tar.gz latinime-ae59ce026213cd9c92f8202ccb2a337e6495119d.tar.xz latinime-ae59ce026213cd9c92f8202ccb2a337e6495119d.zip |
Merge "Remove audio and haptic feedback while key repeating"
Diffstat (limited to 'java/src/com/android/inputmethod')
-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); |