aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2013-08-13 21:50:20 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-13 21:50:20 +0000
commitae59ce026213cd9c92f8202ccb2a337e6495119d (patch)
treed8ee987aaa87b9db44a910d2938126cc4e6d0336 /java/src/com/android
parent3cc550248b308b49db677ffa7ee716660373c3a6 (diff)
parentd1d607287de4d0060a862aa19cb128b7c256767c (diff)
downloadlatinime-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')
-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);