summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-10-03 15:45:50 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-10-10 19:09:05 +0000
commitf5b4d7a828fe02044a92da0f2f512ee2763d6539 (patch)
tree58f6f2b8b780fdf6d73392ae4dc7d61caac60d69 /libs/gui/BufferQueueThreadState.cpp
parentedb0ba739a01d5f9c07e5a6bb88cd0b985f9986f (diff)
TouchInputMapper: Cancel ongoing gesture when resetting
Since reset is called when a device is being enabled or disabled, if it doesn't cancel ongoing gestures, there is a possiblity of seeing an inconsistent gesture stream. Also, make sure we send FLAG_CANCELED when sending ACTION_CANCEL from TouchInputMapper. Bug: 245989146 Test: atest inputflinger_tests Change-Id: I9921eee9acf365b28d97f3fbe9b4d6cd15fe7087
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions