am ae59ce02: Merge "Remove audio and haptic feedback while key repeating"
* commit 'ae59ce026213cd9c92f8202ccb2a337e6495119d': Remove audio and haptic feedback while key repeatingmain
commit
c95a7aa797
|
@ -2703,8 +2703,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
// No need to feedback while sliding input.
|
// No need to feedback while sliding input.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (isRepeatKey && code == Constants.CODE_DELETE && !mConnection.canDeleteCharacters()) {
|
if (isRepeatKey) {
|
||||||
// No need to feedback when repeating delete key will have no effect.
|
// No need to feedback when repeating key.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
AudioAndHapticFeedbackManager.getInstance().hapticAndAudioFeedback(code, keyboardView);
|
AudioAndHapticFeedbackManager.getInstance().hapticAndAudioFeedback(code, keyboardView);
|
||||||
|
|
Loading…
Reference in New Issue