File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
shell/platform/android/io/flutter/embedding/android Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,9 @@ public void onKeyUp(@NonNull KeyEvent keyEvent) {
3030 }
3131
3232 public void onKeyDown (@ NonNull KeyEvent keyEvent ) {
33- if (keyEvent .getDeviceId () != KeyCharacterMap .VIRTUAL_KEYBOARD ) {
34- if (textInputPlugin .getLastInputConnection () != null
35- && textInputPlugin .getInputMethodManager ().isAcceptingText ()) {
36- textInputPlugin .getLastInputConnection ().sendKeyEvent (keyEvent );
37- }
33+ if (textInputPlugin .getLastInputConnection () != null
34+ && textInputPlugin .getInputMethodManager ().isAcceptingText ()) {
35+ textInputPlugin .getLastInputConnection ().sendKeyEvent (keyEvent );
3836 }
3937
4038 Character complexCharacter = applyCombiningCharacterToBaseCharacter (keyEvent .getUnicodeChar ());
You can’t perform that action at this time.
0 commit comments