commit | 9cd9eb66ebfd6a71b9abf070b63db55c59b49e5f | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Wed Nov 22 17:58:06 2023 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Wed Nov 22 18:12:58 2023 +0000 |
tree | 4dda977a3d95cc54e75de2f214cdf85f68ab0928 | |
parent | a0a24d7ca7460d9088a5fafd4706469be3884f01 [diff] |
Ensure drag-and-drop and pilfering does not work with hovering pointers There was a bug where TouchedWindow::getTouchingDeviceIds() would return a list of all "active" devices (hovering or touching) instead of just touching. Fix that bug to ensure there is no crash when trying to start drag-and-drop with a hovering pointer. Add tests to verify. Bug: 312636191 Test: atest inputflinger_tests Change-Id: I865582f21fbe34aca9c1274b02d002018bc9c149