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

Commit 3be84505 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

* commit '76f28bbd':
  Stop leaking Notifications when they change groupKeys.
parents 33b55366 76f28bbd
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) {