summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.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-25 17:33:20 +0800
commitb75c2aa9a1206fb79b3a8ff98747c19c9bacc9e8 (patch)
treefc96d176d7de04e7bea80a9cfc60d0ea96552417 /services/surfaceflinger/RegionSamplingThread.cpp
parent883349a8017baed55e92265c2ff9dc19be1edb98 (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 Change-Id: Ia5d91814a2aca56095c29b029e35e66cd669bce9
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions