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

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

Fix SysUIStateInteractor for lazy states of external displays

Iterating the instances in the repository was not always correct: as instances were created lazily, it might have happened that the SysUI State for an external display was not there.

Now we're iterating all displays instead.

+ a performance optimization: changes from the interactor are committed at the end, after all the StateChanges are applied to each SysUI state. This makes sure to minimize the state propagated to launcher.

Bug: 362719719
Bug: 398011576
Test: SysUIStatePerDisplayInteractorTest
Flag: com.android.systemui.shade_window_goes_around
Change-Id: Ib0178a332a1e1f05d70ba3da52334497ba766557
parent c7d2e77a
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