summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-10-03 10:56:36 -0700
committer Siarhei Vishniakou <svv@google.com> 2023-10-03 17:25:15 -0700
commit6cc94de8da98fed961e94fa4cff548cc7af29100 (patch)
treeb2957765acb2cc214100f94d28b4f362420e1f1f /libs/hwui/FrameInfoVisualizer.cpp
parent97ee1bfd92ebae14a0b01a9d3f49912bb86981c3 (diff)
Add FLAG_CANCELED to synthesized MotionEvents
MotionEvents with ACTION_CANCELED are supposed to have FLAG_CANCELED also set. This is currently enforced by InputVerifier. However, the MotionEvents created in Java don't follow this contract. Since we currently don't have an API to set flags, but we do have an API to set action, fix this in the implementation of MotionEvent.java. This helps with verification of injected events. Bug: 211379801 Test: atest MotionEventTest Change-Id: Idfb1524733e312d933b421e9fd1dda3c6722ae13
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions