mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Removed VIRTUAL_KEYBOARD check in TextInputPlugin because it's blocking Espresso work and its purpose is unknown. (#9238)
This commit is contained in:
parent
f3ab2e412f
commit
2d0103a8fe
@ -30,11 +30,9 @@ public class AndroidKeyProcessor {
|
||||
}
|
||||
|
||||
public void onKeyDown(@NonNull KeyEvent keyEvent) {
|
||||
if (keyEvent.getDeviceId() != KeyCharacterMap.VIRTUAL_KEYBOARD) {
|
||||
if (textInputPlugin.getLastInputConnection() != null
|
||||
&& textInputPlugin.getInputMethodManager().isAcceptingText()) {
|
||||
textInputPlugin.getLastInputConnection().sendKeyEvent(keyEvent);
|
||||
}
|
||||
if (textInputPlugin.getLastInputConnection() != null
|
||||
&& textInputPlugin.getInputMethodManager().isAcceptingText()) {
|
||||
textInputPlugin.getLastInputConnection().sendKeyEvent(keyEvent);
|
||||
}
|
||||
|
||||
Character complexCharacter = applyCombiningCharacterToBaseCharacter(keyEvent.getUnicodeChar());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user