summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2019-05-23 10:25:59 +0800
committer Siarhei Vishniakou <svv@google.com> 2019-05-23 10:38:59 +0800
commit128eab19fbb226cdd79acb010a79100ed49fd162 (patch)
treea195ae761b34604392eaa5f009d480ab5481c656 /libs/gui/BufferQueueThreadState.cpp
parentc0c0fd95ea15f3370e05306ec0854ff54b486eff (diff)
Clear events when ACTION_CANCEL is present
When ACTION_CANCEL is present in the queue, we can clear the existing events from the queue. This will also help pilfer pointers, because this will allow extra time for the inputMonitor to pilfer pointers and prevent unwanted behaviour. Bug: 130352502 Test: open maps, then swipe from left or right. Observe that the map does not shift in response to this gesture. Change-Id: I6b3798f73da3dd26369d1d7887e24fde61333c31
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions