summaryrefslogtreecommitdiff
path: root/libs/ftl/algorithm_test.cpp
diff options
context:
space:
mode:
authorArthur Hung <arthurhung@google.com>2022-08-23 07:45:21 +0000
committerArthur Hung <arthurhung@google.com>2022-08-26 03:24:03 +0000
commit2141d54f509cc8b2ec5ee5ea30ba0d170d252b7a (patch)
treeb3f7a81b34da3d661247f8977c425cd1388e482f /libs/ftl/algorithm_test.cpp
parent5b9a27166abeff5b9d8b297b2acf99d3a914e832 (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
Diffstat (limited to 'libs/ftl/algorithm_test.cpp')
0 files changed, 0 insertions, 0 deletions