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

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

[Dual Shade] Fade in the QS header content with the rest of status bar.

Fix: 414769166
Test: Manually tested by opening and closing the Quick Settings shade
 and observing the battery estimate text fade in/out correctly with the
 status bar.
Flag: com.android.systemui.scene_container
Change-Id: Ib7444b92767c7963ad4737b5c88a179695ba201a
parent c44ef6af
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -35,7 +35,10 @@ fun TransitionBuilder.toQuickSettingsShadeTransition(
    verticalContainerReveal(QuickSettingsShade.Elements.Panel, shadeExpansionMotion, revealHaptics)

    fractionRange(end = .5f) { fade(OverlayShade.Elements.Scrim) }
    fractionRange(start = .5f) { fade(QuickSettingsShade.Elements.StatusBar) }
    fractionRange(start = .5f) {
        fade(QuickSettingsShade.Elements.StatusBar)
        fade(QuickSettingsShade.Elements.Header)
    }
}

private val DefaultDuration = 300.milliseconds