summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayLuts.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2024-06-21 17:08:48 +0000
committer Harry Cutts <hcutts@google.com> 2024-06-21 17:11:56 +0000
commite2c5e20e5297118618bda915909e2f710495f05e (patch)
treeae6fd89cbb6e6cca1b2fefec6b504a22388e998d /libs/gui/DisplayLuts.cpp
parent207674d8c5d67d077b74a66dc3c941c878ba5016 (diff)
Return std::optional from getAbsoluteAxisValue
This makes the methods nicer to use, and forces callers to clearly handle the case where there's no value to return. Test: m checkinput Test: atest inputflinger_tests Test: build and run inputflinger_multitouch_input_fuzzer for a while Bug: 245989146 Flag: EXEMPT refactor Change-Id: I51c750d21d8a95ef631d93365ee76d18ebf71d43
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions