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

Commit ddd8fa9a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[Dual Shade] Fade out lock screen notifications when QS shade is open." into main

parents b892060f 44bc5c90
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)