commit | 54d3e189009e4138ec5074b0ac79f56ce322daed | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Wed Jan 15 17:38:38 2020 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Wed Feb 12 10:48:12 2020 -0800 |
tree | d73b8cdab3daf57d1727e2307fa06b9c813cd3fe | |
parent | 8917ac6fb9f1cdde14d8d05e8a1fde11b9fdf5eb [diff] |
Add verifyInputEvent api to InputDispatcher Now InputDispatcher will be able to check whether a certain InputEvent is legitimate. Use the 'verifyInputEvent' api to determine if a given 'InputEvent' actually came from InputDispatcher. Bug: 134977432 Test: atest VerifiedKeyEventTest VerifiedMotionEventTest libinput_tests inputflinger_tests Change-Id: I8e7fa9bfa3c14b0b0d949fb5e28b43ff7583398f