summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventReceiver.cpp
diff options
context:
space:
mode:
author Michael Wright <michaelwr@google.com> 2019-12-10 20:53:41 +0000
committer Michael Wright <michaelwr@google.com> 2019-12-10 20:57:10 +0000
commit3a240c441917de16db22705ce79a39b6a93cd792 (patch)
tree58e4b35cbe4b6bd187ef9d09d23cab07a9559adc /libs/gui/DisplayEventReceiver.cpp
parent0d4bd95f746fe21e2a24b1e66d2215acc130e136 (diff)
Check whether channel has been removed before sending cancelation.
When a gesture monitor pilfers pointers we synthesize cancelation events for all currently active windows. It's possible, however, that a window may have been removed between the beginning of the touch stream and now, so we have to check whether the corresponding channel still exists. Bug: 145891806 Test: atest InputDispatcher_test.cpp Change-Id: If16191b02bbb35886171c402b9bb74f547bdf94a
Diffstat (limited to 'libs/gui/DisplayEventReceiver.cpp')
0 files changed, 0 insertions, 0 deletions