Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1dcef1b4 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Pass MotionEvent by reference

When the object being passed isn't nullable, it should be passed by
reference rather than by pointer.

This makes it clear to the caller that the passed object should always
be valid.

Bug: 236772648
Test: TEST=libinput_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST
Change-Id: Ib3d4ef1c4a93471dff8de53b7c7873ccf55e7266
parent ce725ae0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment