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

Skip to content
Commit 6a5612bc authored by Julia Tuttle's avatar Julia Tuttle
Browse files

Flexiglass: fix erroneously-split shade at boot

SharedNotificationContainerInteractor uses a deprecated method to
determine whether to use a split shade layout, and that method is giving
it the wrong answer at first boot, leaving the shade displaying on the
right half of felix's *front* screen until the user unfolds and refolds
it.

Therefore, change SharedNotificationContainerInteractor to use the
ShadeInteractor.isShadeLayoutWide flow instead.

Alone, this change creates a cycle in the Dagger graph because
ShadeInteractorSceneContainerImpl depends on
SharedNotificationContainerInteractor.

Therefore, also change ShadeInteractorSceneContainerImpl to use *its
own* isShadeLayoutWide flow instead of depending on
SharedNotificationContainerInteractor.

Fixes: 351906743
Test: manual: enable flexi, fold felix, reboot, observe notifs on LS
Flag: com.android.systemui.scene_container
Change-Id: I43080800b9484ada7f51a68318cb42b802d8e444
parent ddc4d173
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