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

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

Merge "Fix missing work profile badge in app icons" into main

parents f4da9378 b1f8d977
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ constructor(@ShadeDisplayAware private val sysuiContext: Context, dumpManager: D

    private fun iconOptions(context: Context, withWorkProfileBadge: Boolean): IconOptions {
        return IconOptions().apply {
            setUser(userIconInfo(context, withWorkProfileBadge = false))
            setUser(userIconInfo(context, withWorkProfileBadge))
            setBitmapGenerationMode(BaseIconFactory.MODE_HARDWARE)
            // This color will not be used, but we're just setting it so that the icon factory
            // doesn't try to extract colors from our bitmap (since it won't work, given it's a