diff options
author | 2023-04-17 09:00:59 -0700 | |
---|---|---|
committer | 2023-04-17 15:14:59 -0700 | |
commit | 0bae1a0fbde55fc78ecfb203bc555009a86c4233 (patch) | |
tree | 351ac288c93eee64b14e25451c594e9ae3745c36 /libs/gui/VsyncEventData.cpp | |
parent | 5af2834b5ec418e7d1c8b5925b488df12c18aab4 (diff) |
Return Key* from getKey
The call getKey can fail. Rather than returning a separate bool that the
caller might ignore, return a pointer to simplify the code.
Bug: 278299254
Test: m libinput_tests && $ANDROID_HOST_OUT/nativetest64/libinput_tests/libinput_tests
Change-Id: I28c25bee8890bdc90ca7e069c803423a7420e6b4
Diffstat (limited to 'libs/gui/VsyncEventData.cpp')
0 files changed, 0 insertions, 0 deletions