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

Commit 5f2a3442 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes min priority notifications in shelf."

parents d6942d53 4b3c0ff2
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -1499,9 +1499,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
    }
    }


    private void updateIconVisibilities() {
    private void updateIconVisibilities() {
        boolean visible = isChildInGroup()
        boolean visible = isChildInGroup() || mIconsVisible;
                || isBelowSpeedBump()
                || mIconsVisible;
        for (NotificationContentView l : mLayouts) {
        for (NotificationContentView l : mLayouts) {
            l.setIconsVisible(visible);
            l.setIconsVisible(visible);
        }
        }
+1 −1
Original line number Original line Diff line number Diff line
@@ -228,7 +228,7 @@ public class NotificationIconAreaController implements DarkReceiver {


    private void updateShelfIcons() {
    private void updateShelfIcons() {
        updateIconsForLayout(entry -> entry.expandedIcon, mShelfIcons,
        updateIconsForLayout(entry -> entry.expandedIcon, mShelfIcons,
                false /* showAmbient */, !mFullyDark /* showLowPriority */,
                true /* showAmbient */, !mFullyDark /* showLowPriority */,
                false /* hideDismissed */, mFullyDark /* hideRepliedMessages */);
                false /* hideDismissed */, mFullyDark /* hideRepliedMessages */);
    }
    }