Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit feca057f authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

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
parent 73ba9201
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment