Merge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
76f28bbd64
@@ -1914,8 +1914,9 @@ public abstract class BaseStatusBar extends SystemUI implements
|
|||||||
boolean shouldInterrupt = shouldInterrupt(entry, notification);
|
boolean shouldInterrupt = shouldInterrupt(entry, notification);
|
||||||
boolean alertAgain = alertAgain(entry, n);
|
boolean alertAgain = alertAgain(entry, n);
|
||||||
|
|
||||||
|
final StatusBarNotification oldNotification = entry.notification;
|
||||||
entry.notification = notification;
|
entry.notification = notification;
|
||||||
mGroupManager.onEntryUpdated(entry, entry.notification);
|
mGroupManager.onEntryUpdated(entry, oldNotification);
|
||||||
|
|
||||||
boolean updateSuccessful = false;
|
boolean updateSuccessful = false;
|
||||||
if (applyInPlace) {
|
if (applyInPlace) {
|
||||||
|
|||||||
Reference in New Issue
Block a user