diff options
| author | 2024-07-23 21:59:36 +0000 | |
|---|---|---|
| committer | 2024-07-25 14:13:47 +0000 | |
| commit | 38636652797f16d84f8b5672be4d7d95d8b31947 (patch) | |
| tree | 49612156f2325f385605c110c5a39b4da8b454d4 /libs/gui/ConsumerBase.cpp | |
| parent | 31d05c4c78e7924e4bb6dc45092e612a9c7d5bfb (diff) | |
InputReader: Use shared keyboard source for all key events
When multiple EventHub devices are merged into a single InputDevice,
it's possible that there are more than one KeyboardInputMappers created
for the device. In this case, each mapper could be configured with a
different source. This can lead to situations where a device generates
key events that have different sources, depending on the mapper from
which it originated.
To make sure all key events use a consistent source for each
InputDevice, use the shared keyboard source when generating events from
a KeyboardInputMapper.
Bug: 354270482
Test: atest inputflinger_tests
Flag: EXEMPT bugfix
Change-Id: I586424b5e8d31d17cbe635d9f91a889aee906d40
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions