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

Commit 83de3874 authored by Yining Liu's avatar Yining Liu Committed by Android (Google) Code Review
Browse files

Merge "Use the LockscreenStackBounds during transition LS -> Shade" into main

parents 2f336593 4d68819b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -833,7 +833,9 @@ private fun shouldUseLockscreenStackBounds(state: TransitionState): Boolean {
    return when (state) {
        is TransitionState.Idle -> state.isOnLockscreen()
        is TransitionState.Transition ->
            state.isTransitioning(from = Scenes.Lockscreen, to = Scenes.Gone)
            // Keep using the lockscreen stack bounds when transitioning from lockscreen
            // to other states for visual consistency, eg. the smart space should be visible.
            state.isTransitioning(from = Scenes.Lockscreen)
    }
}