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/MultiTouchInputMapper.cpp b/services/inputflinger/reader/mapper/MultiTouchInputMapper.cpp
index bca9d91..05ffa4d 100644
--- a/services/inputflinger/reader/mapper/MultiTouchInputMapper.cpp
+++ b/services/inputflinger/reader/mapper/MultiTouchInputMapper.cpp
@@ -43,7 +43,7 @@
std::list<NotifyArgs> MultiTouchInputMapper::process(const RawEvent* rawEvent) {
std::list<NotifyArgs> out = TouchInputMapper::process(rawEvent);
- mMultiTouchMotionAccumulator.process(rawEvent);
+ mMultiTouchMotionAccumulator.process(*rawEvent);
return out;
}