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

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

Merge "Stop greying out icons in group children" into main

parents 0eb3eae2 82524bff
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.systemui.statusbar;

import static android.app.Flags.notificationsRedesignAppIcons;
import static android.app.Flags.notificationsRedesignTemplates;

import android.app.Flags;
@@ -127,12 +128,14 @@ public class NotificationGroupingUtil {
                ICON_EXTRACTOR,
                iconVisibilityComparator,
                VISIBILITY_APPLICATOR));
        if (!notificationsRedesignAppIcons()) {
            // To grey out the icons when they are not the same, or they have the same color
            mProcessors.add(new Processor(mRow,
                    com.android.internal.R.id.status_bar_latest_event_content,
                    ICON_EXTRACTOR,
                    greyComparator,
                    greyApplicator));
        }
        // To show the large icon on the left side instead if all the small icons are the same
        mProcessors.add(new Processor(mRow,
                com.android.internal.R.id.status_bar_latest_event_content,