commit | 334762394eea028a940b7ba1e05909b54841c03e | [log] [tgz] |
---|---|---|
author | Harry Cutts <hcutts@google.com> | Mon Jan 30 19:57:29 2023 +0000 |
committer | Harry Cutts <hcutts@google.com> | Tue Jan 31 14:33:03 2023 +0000 |
tree | 17e5c8633c85fc86239af3d201b6e47ae3f7a25c | |
parent | dd6b1f1de765e73bff80643a5ac14a6d3e0865d8 [diff] [blame] |
inputflinger: make parameter comment style consistent The Google C++ style guide [0] suggests that parameter name comments should be of the form `/*paramName=*/value`. This potentially allows tooling to check that the parameter names are correct, too. [0]: https://google.github.io/styleguide/cppguide.html#Function_Argument_Comments Bug: none Test: host-side inputflinger_tests Change-Id: I89625844bcd19d27c43b4f14f1f207ade39a4718
diff --git a/services/inputflinger/reader/mapper/JoystickInputMapper.cpp b/services/inputflinger/reader/mapper/JoystickInputMapper.cpp index 929bf18..d7f8b17 100644 --- a/services/inputflinger/reader/mapper/JoystickInputMapper.cpp +++ b/services/inputflinger/reader/mapper/JoystickInputMapper.cpp
@@ -301,7 +301,7 @@ case EV_SYN: switch (rawEvent->code) { case SYN_REPORT: - out += sync(rawEvent->when, rawEvent->readTime, false /*force*/); + out += sync(rawEvent->when, rawEvent->readTime, /*force=*/false); break; } break;