Removed VIRTUAL_KEYBOARD check in TextInputPlugin because it's blocking Espresso work and its purpose is unknown. (flutter/engine#9238)
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user