summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.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-09-01 16:40:04 +0000
commit366904197bc619c00e36403faf2b17ffc1b5c204 (patch)
treed5e641b57f9848a7430f6d1f66a2824d2461adde /services/surfaceflinger/RegionSamplingThread.cpp
parente74b35ffd574e4ddccb2112efcb9e337653cd9a6 (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: 234662773 Test: atest inputflinger_tests Change-Id: Ic4979b91207a6abf4c4ac65fd3db30307cb53729 Merged-In: Ic4979b91207a6abf4c4ac65fd3db30307cb53729 (cherry picked from commit b5174de1a9ede697dfd2bf65e65b294321f9444d)
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions