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

Commit 2a6f5aa7 authored by Jeff DeCew's avatar Jeff DeCew Committed by Automerger Merge Worker
Browse files

Merge "Fix missing group alertOverride recalculation" into sc-v2-dev am: e7781424

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16664220

Change-Id: I4c49ed969fbb2f8ec6641414d157ac872af0c239
parents 72ace199 e7781424
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);
        }