summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Arthur Hung <arthurhung@google.com> 2022-07-15 09:35:36 +0000
committer Arthur Hung <arthurhung@google.com> 2022-07-28 08:45:50 +0000
commit027016035e9bb49e55d1bf7ee31686cddaf7a859 (patch)
treeb66308cd2c5d16b4e5e59e617f9ad1dbc660e52e /libs/gui/LayerDebugInfo.cpp
parente23a168dd4669f7bbee82f4906480cc797f94fa1 (diff)
Fix drag and drop access wrong pointer id
If the touched window didn't support split, it won't track the pointerIds. When the drag and drop started, it would rely on the pointerIds to check current touch state and store the initial drag pointer id but it would always be 0. This CL will let pointerIds could track all down pointers when touched windows received down or pointer down, so it could access the right pointer id from current touch state. Test: atest inputflinger_tests CrossAppDragAndDropTests Bug: 237233207 Bug: 240308355 Change-Id: Ia5d91814a2aca56095c29b029e35e66cd669bce9 Merged-In: Ia5d91814a2aca56095c29b029e35e66cd669bce9
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions