summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-01-23 12:41:01 -0800
committer Siarhei Vishniakou <svv@google.com> 2023-01-24 04:52:17 -0800
commit5df3493d3cf633f8ac7447bc5474a0dfbc1a8359 (patch)
treef7831ace6032ff030e3e83df5e17a8c503f454e0 /libs/gui/LayerState.cpp
parent0026b4cfc864e6cbd32ef911235e39b31de54aba (diff)
Validate axes and led labels correctly
Before this CL, a number of checks for kl file validity were incorrect. Some of the APIs were supposed to return an invalid value, but instead were always returning a valid value, no matter what the input was. Correct these values by switching to std::optional. Bug: 266400536 Test: m libinput_tests && adb sync data && adb shell -t /data/nativetest64/libinput_tests/libinput_tests Change-Id: I4ef45f3249dca4f4f033fb85e9fecbc2ad1f1395
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions