Fix missing group alertOverride recalculation
Bug: 185680162 Test: manual testing w/ telegram and whatsapp Test: atest NotificationGroupAlertTransferHelperTest Test: atest NotificationGroupManagerLegacyTest (cherry picked from commit457bab6392) (cherry picked from commitaa6a7754ea) (cherry picked from commit38d57ffe4a) Merged-In: I4447810af5e2a17c3b6841dfa5cd31703e5f334d Change-Id: I4447810af5e2a17c3b6841dfa5cd31703e5f334d
This commit is contained in:
@@ -529,8 +529,10 @@ public class NotificationGroupManagerLegacy implements
|
||||
mIsolatedEntries.put(entry.getKey(), entry.getSbn());
|
||||
if (groupKeysChanged) {
|
||||
updateSuppression(mGroupMap.get(oldGroupKey));
|
||||
updateSuppression(mGroupMap.get(newGroupKey));
|
||||
}
|
||||
// Always update the suppression of the group from which you're isolated, in case
|
||||
// this entry was or now is the alertOverride for that group.
|
||||
updateSuppression(mGroupMap.get(newGroupKey));
|
||||
} else if (!wasGroupChild && isGroupChild) {
|
||||
onEntryBecomingChild(entry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user