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

Commit b1f8d977 authored by Ioana Alexandru's avatar Ioana Alexandru
Browse files

Fix missing work profile badge in app icons

Fix: 414808191
Flag: android.app.notifications_redesign_app_icons
Test: manual
Change-Id: I35a7d2135bb522ee030d20e7bb0dd3598b9a99c5
parent 3c76a010
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