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

Skip to content
Commit 576b95bf authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato
Browse files

Prevent initial empty state to be propagated in DisplayRepository

Depending on timings, it was possible for the `scan` to propagate the initial state first before calculating the next state based on available display ids.
In this cl the initial state is filtered out, and a log.wtf is added in the case enabledDisplays is empty (which should never happen)

Bug: 361989878
Test: DisplayRepositoryTest#displayFlow_onlyDefaultDisplayAvailable_neverEmitsEmptySet
Flag: NONE small bugfix
Change-Id: I7b7ee6883ca5b5fd95304a0a5f1168d8b5ce2e4e
parent c30ba623
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