commit | 539334aa8acd0ad40d84fe4f59d5dd23a00dfbee | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Fri Sep 20 10:46:21 2019 -0700 |
committer | Vishnu Nair <vishnun@google.com> | Fri Sep 20 10:46:21 2019 -0700 |
tree | 0a32e30c5067ed08a0d5ae98e9506c7ffc142d3b | |
parent | 2391670ac9e9c8ee109806acd973dff0e0e592c9 [diff] |
Don't hold wm lock when intercepting keys We need to check the window type and some private flags to figure out if we should intercept the home key. Instead of holding checking the WindowState associated with the window token, check a separate map that contains a snapshot of the relevant info. Bug: 134365580 Test: atest KeyboardInterceptorTest Test: go/wm-smoke Test: home key works Change-Id: Ica60cef649754095f5c1ed6204a9b1581a07bfc6