diff options
| author | 2021-09-28 14:24:32 -0700 | |
|---|---|---|
| committer | 2021-10-06 22:37:05 +0000 | |
| commit | e37bcece75f83e921197fe4b784ee6ae977a6194 (patch) | |
| tree | edc1f13bc1701fec2d259782329395f40de3bfe6 /libs/battery/MultiStateCounterTest.cpp | |
| parent | a4cce653a442a760e93023de8394aae608418f8b (diff) | |
Use constexpr in VelocityTracker
Previously, defining DEBUG_STRATEGY as 1 would fail to compile.
In this patch, the defines are changed to bools, in order to fix this
going forward.
Also, when I was porting the velocitytracker algorithm to python, I
realized that one of the velocities was wrong. I updated the value. I
didn't check other values, though. It was previously passing likely
because the tolerance for velocity is quite large.
Bug: 192439431
Test: atest libinput_tests
Change-Id: I70b44af6cd5567ee8321b29e509c628fa0b4950e
Diffstat (limited to 'libs/battery/MultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions