Merge "Remove audio and haptic feedback while key repeating"
This commit is contained in:
commit
ae59ce0262
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue