commit | 0bae1a0fbde55fc78ecfb203bc555009a86c4233 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Apr 17 09:00:59 2023 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Mon Apr 17 15:14:59 2023 -0700 |
tree | 351ac288c93eee64b14e25451c594e9ae3745c36 | |
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