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

Skip to content
Commit 611728f7 authored by Nicolò Mazzucato's avatar Nicolò Mazzucato
Browse files

Fix race in DisplayRepository tests

while on real devices tests were passing fine, on cuttlefish there were some flakes.

Those were because sometimes the "initial value" of enabledDisplayId was being propagated before or after the initial value of the "scan". When the "scan" initial value was propagated first, only the default display was in the output for the first event. When the StateIn initial value was propagated first, everything worked as expected.

Now the same initial value is provided to the scan and the sharein for enabledDisplayIds.

Also, cleaning up the flag (now in next)

Bug: 345472038
Bug: 358145460
Test: DisplayRepositoryTest
Flag: com.android.systemui.enable_efficient_display_repository
Change-Id: Ie1e64271d01936ee064f780b1a1f390b769cca31
parent 2c2b2ca7
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