summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-10-27 21:34:46 -0700
committer Siarhei Vishniakou <svv@google.com> 2023-12-05 22:55:50 +0000
commit6b71b63775263a3f99d04fe22650a0a7e191c509 (patch)
treeb1b6e9d45b0d5f2ef53bc41f73f92c428ac69a13 /libs/gui/BLASTBufferQueue.cpp
parentd6a6f38c2449d059e9ba2f90668b95145f6237b8 (diff)
Do not drop stale events for gestures in progress
Before this CL, stale events would get dropped by the dispatcher and cause inconsistent event streams to be sent further down the pipeline. This would cause a crash. In this CL, we prevent dropping stale events when the gesture is currently in progress. This ensures that only events that start a new gesture could be dropped due to being stale. Test: TEST=inputflinger_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST Bug: 308153460 Change-Id: I8348dc9e175214dab3f68f33ad52a117637c2f9a
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions