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

Commit 1aeaf0fc authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Flag off LS -> PRIMARY_BOUNCER notificationAlpha.

This transition view model is obsolete when Flexiglass is enabled, as LS -> PRIMARY_BOUNCER is a scene transition.

We're going to need to do this with quite a few transition view models, but I'm going to start with the ones that address specific Fixiglass bugs for now.

Bug: 435151650
Test: swipe up to bouncer
Flag: com.android.systemui.scene_container
Change-Id: Ia604182481a6169bf08f010c6a396ddc3b3c0783
parent 7f37e37d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -71,7 +71,10 @@ constructor(private val blurConfig: BlurConfig, animationFlow: KeyguardTransitio
    val lockscreenAlpha: Flow<Float> = shortcutsAlpha

    val notificationAlpha: Flow<Float> =
        if (Flags.bouncerUiRevamp()) {
        if (SceneContainerFlag.isEnabled) {
            // Lockscreen -> Bouncer is a scene transition in Flexiglass.
            emptyFlow()
        } else if (Flags.bouncerUiRevamp()) {
            transitionAnimation.sharedFlowWithShade(
                duration = 200.milliseconds,
                onStep = { step, isShadeExpanded ->