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:Patrick 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}
Loading
Please register or sign in to comment