summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2022-11-10 19:33:29 -0800
committer Siarhei Vishniakou <svv@google.com> 2023-01-24 04:52:15 -0800
commit0026b4cfc864e6cbd32ef911235e39b31de54aba (patch)
tree2b71da3830a4b0c751ecae58ab377885668b2720 /libs/input/KeyLayoutMap.cpp
parentd010b014dc42f55b5973c8329ab10dd69da92c77 (diff)
Return InputTargets instead of TouchedWindows
Before this CL, TouchedWindows were getting returned from findTouchedWindowTargetsLocked, just to be converted immediately to InputTargets. However, TouchedWindows are actually an implementation detail of TouchState, and should not leak out from there. In this CL, the first step is taken to fix this abstraction by returning InputTargets where TouchedWindows are getting returned. This will allow: 1. Removal of goto from dispatcher 2. Diff-based approach for generating InputTargets from old and new touch state These updates will be attempted in follow-up CLs. Bug: 211379801 Test: m inputflinger_tests && adb sync data && adb shell -t /data/nativetest64/inputflinger_tests/inputflinger_tests Change-Id: I8b93719994ed383ad0f9bb848d84805470d95db9
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions