summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-05-02 11:56:15 -0700
committer Siarhei Vishniakou <svv@google.com> 2023-05-03 16:36:08 +0000
commit0686f0c4cb814a47ee4447bf0b0d0c522aac8344 (patch)
tree94db9597afa76bb5c229f9f7e23757ac64e455c7 /libs/gui/BufferQueueThreadState.cpp
parentc03813b78e59446cefb105933ecf1a64483e9aed (diff)
Reset touch state when device resets
At any point in time, an input device may be reset. We already generate cancel events to handle this situation. However, that's not sufficient. In this CL, touch state is cleared of all pointers for the device that is getting reset. Bug: 273376858 Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests --gtest_filter="*NotifyDeviceResetCancelsHoveringStream*" Change-Id: I66da4f3eec125a6b260ed1478bca00164bb40c9e
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions