summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2023-07-07 15:22:40 +0000
committer Harry Cutts <hcutts@google.com> 2023-07-07 17:22:30 +0000
commit48e7a4014913a475daf791fdc43129bdd8beb66f (patch)
tree90b9b4c2d01337940892f8452a323da6b91bc086 /libs/ultrahdr/jpegencoderhelper.cpp
parent433c800c6c8bfd4c4d5531a51de322036592a58a (diff)
TouchpadInputMapper: send hover events after UP
After an UP event, it's expected that an input device with a cursor (e.g. mouse, touchpad, stylus) sends a HOVER_ENTER event so that the app knows the cursor is hovering again. From how CursorInputMapper does this, it seems that the convention is for the mapper to send a HOVER_MOVE which is then turned into HOVER_ENTER later in the stack. This is an area we'd like to refactor in future, but for now this fixes the issue in a way that's consistent with CursorInputMapper. Bug: 287246827 Test: in a test app, click with a touchpad and check the UP event is followed by a HOVER_ENTER Test: atest inputflinger_tests:GestureConverterTest Change-Id: I990428552549b3bc8a1eda7199dcbe92801ca4e1
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions