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
Loading
Please register or sign in to comment