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

Commit d1001f1f authored by burakov's avatar burakov Committed by Danny Burakov
Browse files

[flexiglass] Fade out the lock screen status bar before the shade enters

Fix: 438461165
Test: Manually tested by opening the shade over lock screen.
Flag: com.android.systemui.scene_container
Change-Id: I034a9bc7cbd8d5546e3896f713ce38c6b37c9641
parent 114ab992
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -21,5 +21,7 @@ import com.android.systemui.plugins.keyguard.ui.composable.elements.LockscreenEl
fun TransitionBuilder.lockscreenToShadeTransition(durationScale: Double = 1.0) {
fun TransitionBuilder.lockscreenToShadeTransition(durationScale: Double = 1.0) {
    toShadeTransition(durationScale = durationScale)
    toShadeTransition(durationScale = durationScale)


    fractionRange(end = 0.05f) { fade(LockscreenElementKeys.StatusBar) }

    fractionRange(end = 0.2f) { fade(LockscreenElementKeys.Root) }
    fractionRange(end = 0.2f) { fade(LockscreenElementKeys.Root) }
}
}