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

Commit 1f2df9af authored by Mady Mellor's avatar Mady Mellor Committed by Android (Google) Code Review
Browse files

Merge "Fix crash on density / font change in NotificationGuts.gutsContent"

parents b9a2b54a d0baf3c9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -973,7 +973,8 @@ public abstract class BaseStatusBar extends SystemUI implements
        ArrayList<Entry> activeNotifications = mNotificationData.getActiveNotifications();
        for (int i = 0; i < activeNotifications.size(); i++) {
            Entry entry = activeNotifications.get(i);
            boolean exposedGuts = entry.row.getGuts() == mNotificationGutsExposed;
            boolean exposedGuts = mNotificationGutsExposed != null
                    && entry.row.getGuts() == mNotificationGutsExposed;
            entry.row.reInflateViews();
            if (exposedGuts) {
                mNotificationGutsExposed = entry.row.getGuts();
@@ -1081,6 +1082,7 @@ public abstract class BaseStatusBar extends SystemUI implements
                mStackScroller.onHeightChanged(row, !isPanelFullyCollapsed() /* needsAnimation */);
            }
            mNotificationGutsExposed = null;
            mGutsMenuItem = null;
        });

        if (item.gutsContent instanceof SnoozeGutsContent) {