summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2022-12-02 08:55:51 -0800
committer Siarhei Vishniakou <svv@google.com> 2022-12-05 07:22:52 -0800
commit2f61bdcda1ac3d90640e851bb6a427b796f582e2 (patch)
tree901a958480db5919865f0496b3523a6ac77c9fc8 /libs/gui/BLASTBufferQueue.cpp
parent5cee1e36d90b42aa13eb181d6e4ec02b238ccc9c (diff)
Stricter validation of motion events in dispatcher
We are already validating incoming motion events, but for the events received from the bottom layers, currently there's no crash. Add a crash to ensure that the data that the dispatcher is getting is good. Ideally, this would be done directly in the constructor for NotifyMotionArgs, but that could be a separate refactor after we convert pointerProperties and PointerCoords to std::vector. Bug: 211379801 Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests Change-Id: Id089db27245827de7c8f83b57dbf38adf820b5f8
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions