summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author arthurhung <arthurhung@google.com> 2020-12-21 23:18:53 +0800
committer arthurhung <arthurhung@google.com> 2020-12-29 13:42:33 +0800
commitea3f4fc7e994c883c4a2022aa293625f7b60c682 (patch)
tree86efb4c93f7138311ce79d66e5368c7c8cbba6c8 /libs/gui/BLASTBufferQueue.cpp
parent57563a1020fefe9645e4d52a4a9d9ebdcab6d222 (diff)
Prevent accidentally click on window with split touch
Currently, inputflinger would send an ACTION_POINTER_UP event with AKEY_EVENT_FLAG_CANCELED when we have at least 2 pointers down and one becomes the accidental touch. An input window could have FLAG_SPLIT that could split a multi touch event into some single touch events, so we should check the cancel flag in order to prevent it trigger an accidental click on the target window. Bug: 161655782 Test: inputflinger_tests Test: enable twoshay, test accidental touch on slipt window. Change-Id: I95eae0c9aef1f888f352b31affcece893d557754
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions