summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-08-05 22:26:56 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-08-08 18:32:15 +0000
commitb5174de1a9ede697dfd2bf65e65b294321f9444d (patch)
tree87bb44d303b92f79a9cb1c0bbfbffdbfce5ab03b /libs/gui/BufferQueueThreadState.cpp
parentb4ef6ab1e7c0f6c5b924a5812eaa40c8eeaab617 (diff)
Fix issues with InputMapper tests
- When an input device is added, a device reset notification is sent. This should be consumed when the device is added so that it does not need to be consumed in every test case. - The above change exposed an issue with a CursorInputMapper test case, where it was consuming the wrong device reset notification. - When a device is configured, it may produce device reset notifications. After configuring, we should loop the input reader so that the queued input listener is flushed so that these args can be sent out. Bug: None Test: atest inputflinger_tests Change-Id: Ic4979b91207a6abf4c4ac65fd3db30307cb53729
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions