diff options
author | 2024-06-26 10:45:56 +0000 | |
---|---|---|
committer | 2024-06-28 13:10:48 +0000 | |
commit | 67e1ae63301dc02f4d940b5f480b1f495b3b977e (patch) | |
tree | dd87909b7a4cce1599a4e8ef2f47354ed3bd6c79 /services/surfaceflinger/RegionSamplingThread.cpp | |
parent | 290b072d6fd85a35675cfd26d225296fb2e2a2c6 (diff) |
InputDevice: return std::optional from getAbsoluteAxisInfo
This also allows us to remove the valid field from RawAbsoluteAxisInfo,
since we can represent "invalid" axes (which usually just meant absent
ones) using std::nullopt.
Test: atest inputflinger_tests
Test: m checkinput
Test: Check "Raw Touch Axes" section of touch input mapper info in
dumpsys input
Bug: 245989146
Flag: EXEMPT refactor
Change-Id: I045a2e0b61a84657f2f8171c1fee3cc3e331ac86
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions