diff options
author | 2023-11-22 17:58:06 +0000 | |
---|---|---|
committer | 2023-11-22 18:12:58 +0000 | |
commit | 9cd9eb66ebfd6a71b9abf070b63db55c59b49e5f (patch) | |
tree | 4dda977a3d95cc54e75de2f214cdf85f68ab0928 /cmds/dumpstate/dumpstate.cpp | |
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
Diffstat (limited to 'cmds/dumpstate/dumpstate.cpp')
0 files changed, 0 insertions, 0 deletions