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

Commit 2c72ff6a authored by Michael Mikhail's avatar Michael Mikhail Committed by Android (Google) Code Review
Browse files

Merge "Update UMO host attachment before state change" into main

parents daf4ef7c 32cbee86
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -461,6 +461,15 @@ constructor(
                    // the
                    // location of the previous state to still be up to date when the animation
                    // starts
                    if (
                        newState == StatusBarState.SHADE_LOCKED &&
                            oldState == StatusBarState.KEYGUARD &&
                            fullShadeTransitionProgress < 1.0f
                    ) {
                        // Since the new state is SHADE_LOCKED, we need to set the transition amount
                        // to maximum if the progress is not 1f.
                        setTransitionToFullShadeAmount(distanceForFullShadeTransition.toFloat())
                    }
                    statusbarState = newState
                    updateDesiredLocation()
                }