diff options
| author | 2019-05-23 10:25:59 +0800 | |
|---|---|---|
| committer | 2019-05-23 10:38:59 +0800 | |
| commit | 128eab19fbb226cdd79acb010a79100ed49fd162 (patch) | |
| tree | a195ae761b34604392eaa5f009d480ab5481c656 /libs/gui/BufferQueueThreadState.cpp | |
| parent | c0c0fd95ea15f3370e05306ec0854ff54b486eff (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