diff options
| author | 2019-03-06 13:01:10 -0800 | |
|---|---|---|
| committer | 2019-03-07 09:26:23 -0800 | |
| commit | 1357def60d032008cd71dc2539eabca283775fd3 (patch) | |
| tree | e7a56099a1fa480035e4b4366a5942421e6b32a1 /libs/gui/BufferQueueThreadState.cpp | |
| 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
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions