Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e0226c5e authored by Asmita Poddar's avatar Asmita Poddar
Browse files

Allow dispatcher to be idle after metrics push

Earlier, the dispatcher was not being allowed to enter idle state
since processLatencyStatisticsLocked() would always wake it up in 6 hours,
causing many of the dispatcher tests to fail.
Now, the dispatcher will be idle after the latency statistics are
pushed. After the statistics push is complete, the next push will occur
after 6 hours upon the next input event being received by the
dispatcher.

Bug: 270049345
Test: atest inputflinger_tests
Flag: com.android.input.flags.enable_per_device_input_latency_metrics
Change-Id: I1cdb6df6110bff9e4fcb6cbfdc91c16c8e386f0b
parent 00488b08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment