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

Commit 71761eae authored by petsjonkin's avatar petsjonkin
Browse files

Improving AmbientFilter usage in tests

DisplayModeDirector uses WeightedMovingAverageAmbientFilter. For test it can introduce flake if Sensor events added with little time gap.
Replacing WeightedMovingAverageAmbientFilter in tests to LastValueAmbientFilter - that always return last sensor value

Bug: b/420256933 , b/423134533
Test: atest DisplayServiceTests
Flag: EXEMPT test fix
Change-Id: I7fe2844031fda3fc07a593ec53f5d8ee3b7696f8
parent 6bc3e26b
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