commit | cd80e611cab3cc09366af23f2ef0b0f8e5146c86 | [log] [tgz] |
---|---|---|
author | Evan Rosky <erosky@google.com> | Thu May 17 17:46:09 2018 -0700 |
committer | Evan Rosky <erosky@google.com> | Fri May 25 16:18:57 2018 -0700 |
tree | b239cb37979f3630a4e2b5008e4cec63859dddfa | |
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