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

Commit 457bab63 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Fix missing group alertOverride recalculation

Bug: 185680162
Test: manual testing w/ telegram and whatsapp
Test: atest NotificationGroupAlertTransferHelperTest
Test: atest NotificationGroupManagerLegacyTest
Change-Id: I4447810af5e2a17c3b6841dfa5cd31703e5f334d
parent 6ee64f6f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);
        }