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

Commit fdc1167a authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Fix missing in-window launcher animation in flexiglass.

We were just not checking the scene container state. Easy fix.

Fixes: 437915180
Test: unlock w/ flexi
Flag: com.android.systemui.scene_container
Change-Id: I65b2e55f01982283709b60bf6bce8cb5c8505867
parent 7f37e37d
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -86,11 +86,10 @@ constructor(
            // crashes, etc.) the worst case is that we fall back to the normal unlock animation (or
            // unnecessarily play the animation on Launcher when there's an app over it), which is
            // not a big deal.
            transitionInteractor.currentKeyguardState
                .map { it != GONE }
            transitionInteractor.isCurrentlyIn(Scenes.Gone, GONE)
                .distinctUntilChanged()
                .collect { notOnGone ->
                    if (notOnGone) {
                .collect { gone ->
                    if (!gone) {
                        updateIsLauncherUnderneath()
                    }
                }