diff options
author | 2025-02-18 00:56:12 -0800 | |
---|---|---|
committer | 2025-02-18 00:56:12 -0800 | |
commit | d442304ae59342d9e4f93608391950a7d9f709f0 (patch) | |
tree | cd077a80c926323ad15ca38dc018f0a8faec492d | |
parent | 3ffd1628c4c13d7c14901f267b21dab6001be5ea (diff) | |
parent | 93145fb1181a92f06256b667f090bff0689eb542 (diff) |
Merge "SlopController: fix formatting of logged values" into main
-rw-r--r-- | services/inputflinger/reader/mapper/SlopController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/inputflinger/reader/mapper/SlopController.cpp b/services/inputflinger/reader/mapper/SlopController.cpp index 9ec02a6f86..d55df511e1 100644 --- a/services/inputflinger/reader/mapper/SlopController.cpp +++ b/services/inputflinger/reader/mapper/SlopController.cpp @@ -54,13 +54,13 @@ float SlopController::consumeEvent(nsecs_t eventTimeNanos, float value) { mCumulativeValue += value; if (abs(mCumulativeValue) >= mSlopThreshold) { - ALOGD("SlopController: did not drop event with value .%3f", value); + ALOGD("SlopController: did not drop event with value %.3f", value); mHasSlopBeenMet = true; // Return the amount of value that exceeds the slop. return signOf(value) * (abs(mCumulativeValue) - mSlopThreshold); } - ALOGD("SlopController: dropping event with value .%3f", value); + ALOGD("SlopController: dropping event with value %.3f", value); return 0; } |