Update mOnDissmissRunnable when Notification gets updated.
mOnDissmissRunnable holds reference to StatusBarNotification instance.
We should update it when notification gets updated.
Bug: 141699084
Test: atest NotifCollectionTest, NotificationDataTest,
NotificationEntryManagerTest
Change-Id: Iaa4306eedeb144dba480c551808dd431e096314c
Merged-In: Iaa4306eedeb144dba480c551808dd431e096314c
(cherry picked from commit 52d82f59ea)
This commit is contained in:
@@ -137,6 +137,7 @@ public class NotificationRowBinderImpl implements NotificationRowBinder {
|
||||
entry.updateIcons(mContext, sbn);
|
||||
entry.reset();
|
||||
updateNotification(entry, pmUser, sbn, entry.getRow());
|
||||
entry.getRow().setOnDismissRunnable(onDismissRunnable);
|
||||
} else {
|
||||
entry.createIcons(mContext, sbn);
|
||||
new RowInflaterTask().inflate(mContext, parent, entry,
|
||||
|
||||
Reference in New Issue
Block a user