diff options
author | Evan Rosky <erosky@google.com> | 2018-05-17 17:46:09 -0700 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2018-05-25 16:18:57 -0700 |
commit | cd80e611cab3cc09366af23f2ef0b0f8e5146c86 (patch) | |
tree | b239cb37979f3630a4e2b5008e4cec63859dddfa /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 32e6e4174b099f7328951d55bbee3244af23cce4 (diff) |
Fixed a bug where sometimes unhandled handler would consume all keys
In a situation where a focused view consumed only the UP of a key
and the unhandled key manager would focus a listener, it wouldn't
drop focus unless the original key was pressed/released again.
This updates the record of captured keys before it can be consumed
in the view hierarchy.
Bug: 79993136
Test: Added a test for this to cts ViewTest#testUnhandledKeys
Change-Id: I5dfdcf16c5c41e9ad51cb62b385580c5493e8520
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions