Skip to content

Commit d442304

Browse files
HarryCuttsAndroid (Google) Code Review
authored andcommitted
Merge "SlopController: fix formatting of logged values" into main
2 parents 3ffd162 + 93145fb commit d442304

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

services/inputflinger/reader/mapper/SlopController.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ float SlopController::consumeEvent(nsecs_t eventTimeNanos, float value) {
5454
mCumulativeValue += value;
5555

5656
if (abs(mCumulativeValue) >= mSlopThreshold) {
57-
ALOGD("SlopController: did not drop event with value .%3f", value);
57+
ALOGD("SlopController: did not drop event with value %.3f", value);
5858
mHasSlopBeenMet = true;
5959
// Return the amount of value that exceeds the slop.
6060
return signOf(value) * (abs(mCumulativeValue) - mSlopThreshold);
6161
}
6262

63-
ALOGD("SlopController: dropping event with value .%3f", value);
63+
ALOGD("SlopController: dropping event with value %.3f", value);
6464
return 0;
6565
}
6666

0 commit comments

Comments
 (0)