summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Arpit Singh <arpitks@google.com> 2023-11-24 18:19:56 +0000
committer Arpit Singh <arpitks@google.com> 2024-01-10 10:53:53 +0000
commit4b4a457fb72ddb2c4ad269dff39b422fbf887999 (patch)
tree834a3542eb2054d45758b2eeca7913b19507b78b /libs/gui/BLASTBufferQueue.cpp
parentac9a2fa21112dba08ff49ca71c0ef5844f40dbda (diff)
Sync MT slots on reset and buffer overflow
At present we don't repopulate the MT slot values when a buffer overflow occurs. This may lead to incosistent event being generate due to out of sync Mt Slot values. In this change we repopulate the MT slot values with EVIOCGMTSLOTS system call after resetting the mapper. Now in case of a buffer overflow a ongoing multitouch gesture will be cancelled and restarted. Test: atest inputflinger_tests Bug: b/291626046 Change-Id: I8195406ce1f9e3e704381b47e282c65463537745
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions