DescriptionFix input injector on Linux to release all keys before injecting text event.
When '<' and '>' Android keyboard generates KEYCODE_SHIFT_LEFT followed by
KEYCODE_COMMA or KEYCODE_PERIOD. Android client sends shift event as a key
event and then the actual character is sent as a text event. As result
when the input injector tries to inject text event shift key is pressed
and as result injected keys are not interpreted correctly. Fixed input
injector to release all keys before trying to inject text events.
BUG=407463
Committed: https://crrev.com/90253bddc46a12973aee4c863dca037a29b4a1ed
Cr-Commit-Position: refs/heads/master@{#309508}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : #Messages
Total messages: 12 (3 generated)
|