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

Commit 8afab95a authored by Daniel Sandler's avatar Daniel Sandler Committed by android-build-merger
Browse files

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

am: 3be84505

* commit '3be84505':
  Stop leaking Notifications when they change groupKeys.
parents 2edfa8c9 3be84505
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) {