commit | 9d3d561b46a49588162ad47c62ad01f7e37bc811 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Thu Jun 06 20:34:26 2024 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Mon Jun 10 13:54:39 2024 +0000 |
tree | 0e8308e06fbfb344738b62f40804faea93704623 | |
parent | aa8e0640e68c596ac71a1369803c90def78eb7eb [diff] |
InputDispatcher: Fix multi-display Pointer Capture There is an existing requirement that a window must both have focus and be on the focused display to be able to gain Pointer Capture. This means that focus changes on non-focused displays should not affect Pointer Capture, and that a window must lose capture if its display loses focus. Verify these requirements with a test. Bug: 342229227 Test: atest inputflinger_tests Change-Id: I7b1c73b7759d8f20436ee401ba657a5dc8ead7a5