summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2023-03-29 14:51:38 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2023-03-31 19:49:01 +0000
commite71e570696473ff9f2729d1d827c9eb388b88195 (patch)
tree24fec4a3d512f9e7765b00f6f2a9e9cd5558789f /libs/ultrahdr/jpegencoderhelper.cpp
parent7d9cb5a6a67601e1990de2eda9f25c8d3a2e8909 (diff)
Fix display association for drawing tablets
Drawing tablets are stylus devices that are configured in pointer mode. All touch devices, including styluses, are configured specifically for one display. Since a drawing tablet is supposed to show a pointer icon, it updates the PointerController. If the PointerController and the drawing tablet are not configured for the same display, it does not make sense to update the PointerController. We fix this inconsistency by only updating the PointerController's position for a drawing tablet when they're both configured for the same display. Bug: 236798672 Test: atest DrawingTabletTest Change-Id: I0a336dc456f6432a1e74e96a22ff57bb16a65ad7
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions