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

Commit 76f28bbd authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev

parents 33001945 24813b0d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1914,8 +1914,9 @@ public abstract class BaseStatusBar extends SystemUI implements
        boolean shouldInterrupt = shouldInterrupt(entry, notification);
        boolean alertAgain = alertAgain(entry, n);

        final StatusBarNotification oldNotification = entry.notification;
        entry.notification = notification;
        mGroupManager.onEntryUpdated(entry, entry.notification);
        mGroupManager.onEntryUpdated(entry, oldNotification);

        boolean updateSuccessful = false;
        if (applyInPlace) {