aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2013-08-13 14:54:17 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-13 14:54:17 -0700
commitc95a7aa79772d7dbbb574177a36a8fb95fad20de (patch)
treec6bb394fa16c0a82e28be6de12ccd0c9ee19b0c4 /java/src
parent018ab17ef5bbd733348992b3c742bc75b3681baf (diff)
parentae59ce026213cd9c92f8202ccb2a337e6495119d (diff)
downloadlatinime-c95a7aa79772d7dbbb574177a36a8fb95fad20de.tar.gz
latinime-c95a7aa79772d7dbbb574177a36a8fb95fad20de.tar.xz
latinime-c95a7aa79772d7dbbb574177a36a8fb95fad20de.zip
am ae59ce02: Merge "Remove audio and haptic feedback while key repeating"
* commit 'ae59ce026213cd9c92f8202ccb2a337e6495119d': Remove audio and haptic feedback while key repeating
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java4
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);