summaryrefslogtreecommitdiff
path: root/libs/input/KeyCharacterMap.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-04-17 08:11:37 -0700
committer Siarhei Vishniakou <svv@google.com> 2023-04-17 15:14:58 -0700
commit0fe0126d4a0cab98a8c5cc92496d7abe9f0fb781 (patch)
tree9b902cb1b6b1818da3ae815e8b47c30fa3d33b63 /libs/input/KeyCharacterMap.cpp
parent25af133b3a6249b9414a365e40acb43b2b93ecf2 (diff)
Use std::map for fallback keys
Before this CL, custom data structures were used to store fallback keys. Those structures have some known bugs. To fix this, convert to std::map and use std::optional to store the result of fallback key lookup. Bug: 278299254 Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests Change-Id: Id37c41694d0b4cfa2ae107b7db13e9389d21c562
Diffstat (limited to 'libs/input/KeyCharacterMap.cpp')
0 files changed, 0 insertions, 0 deletions