commit | 71953c2b88a4d34488b17b3a1fe3758f6960bd54 | [log] [tgz] |
---|---|---|
author | Harry Cutts <hcutts@google.com> | Mon Jun 03 12:54:40 2024 +0000 |
committer | Harry Cutts <hcutts@google.com> | Mon Jun 03 12:54:40 2024 +0000 |
tree | 533e15702134da01c86b03e4ffa35e23b68f7939 | |
parent | 9c933d056b60a1a6eeb71a13f4fb60c64405464a [diff] [blame] |
input accumulators: pass RawEvent references instead of pointers Change-Id: I7f538b3e08704df7c99e13e59302832dfe517a1d Test: atest inputflinger_test Test: manually test a multi-touch screen, touchpad, mouse, and drawing tablet works Bug: 245989146 Flag: EXEMPT refactor
diff --git a/services/inputflinger/reader/mapper/CapturedTouchpadEventConverter.cpp b/services/inputflinger/reader/mapper/CapturedTouchpadEventConverter.cpp index 09a5f08..90685de 100644 --- a/services/inputflinger/reader/mapper/CapturedTouchpadEventConverter.cpp +++ b/services/inputflinger/reader/mapper/CapturedTouchpadEventConverter.cpp
@@ -155,8 +155,8 @@ mMotionAccumulator.finishSync(); } - mCursorButtonAccumulator.process(&rawEvent); - mMotionAccumulator.process(&rawEvent); + mCursorButtonAccumulator.process(rawEvent); + mMotionAccumulator.process(rawEvent); return out; }