Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e63cbba0 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Revert back to lsq2 velocity strategy

Switch back to lsq2 while the bugreports for the impulse velocity
tracker strategy are investigated.

Bug: 72263561
Test: this is a revert
Change-Id: I6a2399d91f8c0225df8b90fb452a54aa42fe6894
parent 7e78b9e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ static std::string matrixToString(const float* a, uint32_t m, uint32_t n, bool r
// this is the strategy that applications will actually use.  Be very careful
// when adjusting the default strategy because it can dramatically affect
// (often in a bad way) the user experience.
const char* VelocityTracker::DEFAULT_STRATEGY = "impulse";
const char* VelocityTracker::DEFAULT_STRATEGY = "lsq2";

VelocityTracker::VelocityTracker(const char* strategy) :
        mLastEventTime(0), mCurrentPointerIdBits(0), mActivePointerId(-1) {