summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2024-04-11 16:59:22 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2024-04-11 16:59:22 +0000
commit6c0de2bb775bde4ba63f4190b90c4e1814040dd8 (patch)
tree0f248c85ae3ba0f7eafcf40ecf0242def19d5a5d /libs/ultrahdr/jpegencoderhelper.cpp
parent5013f984702088a0565029ed0dcb447c897be2ed (diff)
InputTracingTest: Fix test flakiness
There was a bug in the logic for tracking when the tracing thread is idle. The thread can only be idle when the queue is empty, so prevent it from being marked as idle when there are still events left to be processed. Also, a waitForTracerIdle() was missing in the TraceWindowDispatch test. Bug: 333544493 Test: InputTracingTest passes 10000 times Change-Id: I90feaeefc80d1a0e43732ee7e75d4074a9634bd7
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions