Skip to content

fix #444 - KeyboardHandler#onPreKeyEvent() was never called - #540

Open
davidcl wants to merge 1 commit into
chromiumembedded:masterfrom
davidcl:fix-issue-444
Open

fix #444 - KeyboardHandler#onPreKeyEvent() was never called#540
davidcl wants to merge 1 commit into
chromiumembedded:masterfrom
davidcl:fix-issue-444

Conversation

@davidcl

@davidcl davidcl commented Aug 10, 2026

Copy link
Copy Markdown

On the JNI KeyboardHandler::OnPreKeyEvent() is checking a jnull value value on the Java allocated ref. However for ScopedJNIBoolRef an implicit conversion to bool happened, leading to a false value and early return.

Fix #444

On the JNI KeyboardHandler::OnPreKeyEvent() is checking a jnull value
value on the Java allocated ref. However for ScopedJNIBoolRef an
implicit conversion to bool happened, leading to a false value and early
return.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

onPreKeyEvent in keyboardHandler is never called

1 participant