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

Commit 6ae8c07a authored by Beth Thibodeau's avatar Beth Thibodeau
Browse files

Use dark color for initial media control background

Media album art and solid colors will always be a darker color, to match
the rest of quick settings. This updates the default initial background
color to be the same as inactive QS tiles

Test: visual
Bug: 310741705
Flag: NONE

Change-Id: Ia58f3bf23a853bb5ef0def0b5dff23e2cf89c232
parent 2596f1e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -119,7 +119,7 @@ internal constructor(
        ::AnimatingColorTransition
        ::AnimatingColorTransition
    )
    )


    val bgColor = context.getColor(com.google.android.material.R.color.material_dynamic_secondary95)
    val bgColor = context.getColor(com.google.android.material.R.color.material_dynamic_neutral20)
    val surfaceColor =
    val surfaceColor =
        animatingColorTransitionFactory(bgColor, ::surfaceFromScheme) { surfaceColor ->
        animatingColorTransitionFactory(bgColor, ::surfaceFromScheme) { surfaceColor ->
            val colorList = ColorStateList.valueOf(surfaceColor)
            val colorList = ColorStateList.valueOf(surfaceColor)