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

Commit 72dcfda9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Provide the correct colors for themed app icons" into main

parents ae8cda13 32d0e7dc
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -84,7 +84,16 @@ constructor(@ShadeDisplayAware private val sysuiContext: Context, dumpManager: D
        init {
            if (notificationsRedesignThemedAppIcons()) {
                // Initialize the controller so that we can support themed icons.
                mThemeController = MonoIconThemeController()
                mThemeController =
                    MonoIconThemeController(
                        colorProvider = { ctx ->
                            val res = ctx.resources
                            intArrayOf(
                                /* background */ res.getColor(R.color.materialColorPrimary),
                                /* icon */ res.getColor(R.color.materialColorSurfaceContainerHigh),
                            )
                        }
                    )
            }
        }
    }