| commit | 2141d54f509cc8b2ec5ee5ea30ba0d170d252b7a | [log] [tgz] |
|---|---|---|
| author | Arthur Hung <arthurhung@google.com> | Tue Aug 23 07:45:21 2022 +0000 |
| committer | Arthur Hung <arthurhung@google.com> | Fri Aug 26 03:24:03 2022 +0000 |
| tree | b3f7a81b34da3d661247f8977c425cd1388e482f | |
| parent | 5b9a27166abeff5b9d8b297b2acf99d3a914e832 [diff] |
Synthesize cancellation events when device is disabled When disable a keyboard device, if some keys still stay in down, we should synthesize the cancellation events for these keys to prevent the states can't be reset when they're handled by policy or client side. Bug: 239888702 Test: atest inputflinger_tests Change-Id: I8d73d5b2b3df81d047799cb7e9403f170a094f97