summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2024-10-23 09:48:55 +0000
committer Harry Cutts <hcutts@google.com> 2024-10-23 09:48:55 +0000
commitd6a3fb5d6202679259c3ee55b6222bd94f4442d3 (patch)
tree0541af5e0b548e7fc5993dd8c2fcbfef5903f194 /libs/gui/ConsumerBase.cpp
parent048a18146ac8c66c4f92658f29039b0a421c85a5 (diff)
EventHub: log error when getting axis info for non-existent device
It's possible that getAbsoluteAxisInfo not finding the device is the cause of a hard-to-reproduce crash in GestureConverter, where nullopt is returned for an axis despite the EventHub classification code requiring that axis to classify a device as a touchpad. Trying to retrieve axis info for a non-existent device is always an error of some kind, so let's at least log that. Bug: 374255515 Test: m checkinput Flag: EXEMPT log only update Change-Id: Ifb0c82d88c11ac31671e947d5f5805949931060f
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions