Soft-keyboard key events (backspace, forward delete, Enter, digits)
went from InputConnection.sendKeyEvent through the window's native
input queue. Kryon consumed them natively while the hidden EditText
kept the old text, so the keyboard's next edit restored deleted
characters. Dispatch IME key events directly to the editor inside a
batch edit so Kryon receives one final state, and submit single-line
Enter keys once, including Android 14's action-tagged Enter events.
Robolectric tests cover delete keys, selection and select-all
deletion, forward delete, stale connections, Enter on single-line and
multiline fields and Unicode corrections on API 31, 32, 34 and 36.
Co-Authored-By: Claude Opus 5.5 <[email protected]>