Skip to content
Commit 2d049056 authored by Tomasz Wiszkowski's avatar Tomasz Wiszkowski Committed by Chromium LUCI CQ
Browse files

Prevent IME from intercepting and suppressing key events.

This change processes hardware key events before these make it to
soft keyboards.

Recently, GBoard introduced a change causing ACTION_DOWN key events
to be suppressed on all physical keypresses, while passing the
corresponding ACTION_UP events. The change partially broke navigation
and autocomplete, making us realize that if this is possible with
GBoard, it's possible with any other software keyboard.

The change effectively bypasses IME completely, enabling Chrome to
process raw input events before these are routed to IME, where these
get lost.

Change-Id: I621fddf1ff824a0df50b5defc60fc25a49c9104f
Fixed: 342696253, 344606639
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5619390


Reviewed-by: default avatarPatrick Noland <pnoland@chromium.org>
Commit-Queue: Tomasz Wiszkowski <ender@google.com>
Auto-Submit: Tomasz Wiszkowski <ender@google.com>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1313706}
parent cc34b288
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment