Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae59ce02 authored by Ken Wakasa's avatar Ken Wakasa Committed by Android (Google) Code Review
Browse files

Merge "Remove audio and haptic feedback while key repeating"

parents 3cc55024 d1d60728
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);