diff options
| author | 2023-10-24 18:08:28 -0700 | |
|---|---|---|
| committer | 2023-10-24 18:15:24 -0700 | |
| commit | 1dcef1b496c3f6d38a05e0c7a22b2f82598f0ca3 (patch) | |
| tree | b0c8d114cc3833a81b7cf1f911503345196ccfc6 /libs/hwui/FrameInfoVisualizer.cpp | |
| 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
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions