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

Commit 44bc5c90 authored by burakov's avatar burakov Committed by Danny Burakov
Browse files

[Dual Shade] Fade out lock screen notifications when QS shade is open.

Fix: 433538684
Test: Manually by opening and closing QS shade on lock screen on a wide
 screen device, and observing the notifications fade out/in respectively
Test: Unit tests still pass.
Flag: com.android.systemui.scene_container
Change-Id: I837ebf93da99ebae513b961c3c6f9c53de3a6dea
parent 1b827075
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -565,23 +565,17 @@ constructor(
                            }
                        Dual ->
                            combineTransform(
                                shadeModeInteractor.isShadeLayoutWide,
                                headsUpNotificationInteractor.get().isHeadsUpOrAnimatingAway,
                                shadeInteractor.shadeExpansion,
                                shadeInteractor.qsExpansion,
                                bouncerInteractor.bouncerExpansion,
                            ) {
                                isShadeLayoutWide,
                                isHeadsUpOrAnimatingAway,
                                shadeExpansion,
                                qsExpansion,
                                bouncerExpansion ->
                                if (bouncerExpansion > 0f) {
                                    emit(1 - bouncerExpansion)
                                } else if (isShadeLayoutWide) {
                                    if (shadeExpansion > 0f) {
                                        emit(1f)
                                    }
                                } else if (isHeadsUpOrAnimatingAway) {
                                    // Ensure HUNs will be visible in QS shade (at least while
                                    // unlocked)