commit | 1357def60d032008cd71dc2539eabca283775fd3 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Wed Mar 06 13:01:10 2019 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Thu Mar 07 09:26:23 2019 -0800 |
tree | e7a56099a1fa480035e4b4366a5942421e6b32a1 | |
parent | 9849e92d9f5278a5f9fe3738af8b7143020c4adb [diff] |
Refactor VelocityTracker_test Two changes here: 1) Use std::unique_ptr to pass a newed MotionEvent around. This also fixes a memory leak in computeAndCheckQuadraticEstimate 2) Make pointerCoords and pointerProperties consistent by making them both arrays Bug: none Test: atest -a libinput_tests inputflinger_tests Change-Id: I4439342c78b1850a9a43bd8c58501f2bc86f266e