summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegdecoderhelper.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-10-18 09:20:07 -0700
committer Siarhei Vishniakou <svv@google.com> 2023-10-18 09:22:19 -0700
commitdcc6e6ede741905fa2ec2ff91722f85d3979276c (patch)
tree45e98a56c399d5a4b9a6db619863f1ac61a9a7ea /libs/ultrahdr/jpegdecoderhelper.cpp
parent59dd790de3a1d6f5b4dbc3b96eaff4bf888e8bea (diff)
Change isStylusEvent behaviour
This function is now getting moved to Input.h. We are also making its behaviour deterministic: if at least one pointer is stylus, then the event is a stylus event (unless the source wasn't set to "stylus"). This way, an event with 1 finger and 1 stylus pointers will have the same consistent behaviour, regardless of the order that the pointers are stored inside the event. Bug: 211379801 Test: TEST=inputflinger_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST Change-Id: Ie164e32b7c0e9cf21b3819b01a03ac2885666191
Diffstat (limited to 'libs/ultrahdr/jpegdecoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions