summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2024-02-06 00:43:11 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2024-02-06 22:54:00 +0000
commitfeca057f5ff68a583c56968faa9e2b978e8ed5c3 (patch)
treef6df96ca715e207e4d560070ca068d50a7091f2e /libs/gui/ConsumerBase.cpp
parent73ba92019b8508cc7551a1835237b34f7018bd5c (diff)
InputDispatcher: Ensure pointer down is generated for touched window
A precondition for synthesizing pointer down events is that the touch state must already be updated to reflect the new gesture going into the window. When generating the down event, it should be associated with the correct touched window, not just any window with the same token. This CL fixes the a bug where the down event would be synthesized for the top-most clone window that matches the token, rather than the touched window. Bug: 210460522 Test: atest inputflinger_tests Change-Id: I3bedc2c2c8e0f18dc8814d519ba7cf9449e10211
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions