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

Commit 9bba534a authored by 0's avatar 0
Browse files

[flexiglass] Reset KeyguardFading/GoingAway after transition to Gone

Due to ScrimController being deprecated in flexi, the codepath that reset KeyguardFadingAway/KeyguardGoingAway state was removed and not replaced. This brings it back in ScrimStartable.

Bug: 372746998
Test: manually verified that trying to expand sensitive notifications in locked shade properly brings up bouncer
Test: now passes ExpandSensitiveNotificationOnLockScreen
Flag: com.android.systemui.scene_container
Change-Id: Idd4bcb344332a5daf857304928974758ae4ca245
parent 5bc4afb9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -185,6 +185,7 @@ constructor(
                } else if (isOnKeyguard && !unlocking && isDreaming) {
                    Model(scrimState = ScrimState.DREAMING, unlocking = false)
                } else {
                    onKeyguardFadedAway(transitionState.isIdle(Scenes.Gone))
                    Model(scrimState = ScrimState.UNLOCKED, unlocking = unlocking)
                }
            }