commit | 1dcef1b496c3f6d38a05e0c7a22b2f82598f0ca3 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Tue Oct 24 18:08:28 2023 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Tue Oct 24 18:15:24 2023 -0700 |
tree | b0c8d114cc3833a81b7cf1f911503345196ccfc6 | |
parent | ce725ae050f468db1c096cad3401895ac579ecf4 [diff] |
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