commit | ad321cd93840d11440f80f49452d4631697033e5 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Thu Aug 20 16:40:21 2020 -0700 |
committer | Vishnu Nair <vishnun@google.com> | Thu Aug 27 17:12:11 2020 -0700 |
tree | 506eb3a321e8f035084b449154050905d30a9b84 | |
parent | 544bc76eff90889dda0fbdf032424a73dd707cae [diff] |
Track focused window by using window token A window token can be associated with one or more InputWindowHandles. If a window is mirrored, the window and its mirror will share the same token. Focus is tracked by the token per display and the events are dispatched to the channel associated by this token. Also pass window handle per display by reference where possible. Test: atest inputflinger_tests Bug: 151179149 Change-Id: I0c5ad25e60e85b1a8f5648c2dacb125b13e00e55