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
This commit is contained in:
@@ -142,6 +142,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