mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Remove audio and haptic feedback while key repeating
Bug: 6522943 Change-Id: Iad1b11172e47bfbae2b4129361a56b9d793f8f62
This commit is contained in:
parent
0adc8a2ad3
commit
d1d607287d
@ -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…
x
Reference in New Issue
Block a user