summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author lyn <lynhan@google.com> 2025-02-27 20:32:35 -0800
committer lyn <lynhan@google.com> 2025-03-04 22:34:14 -0800
commitaac9124fff1e108305a29e545c9828c9742c1f0e (patch)
treea4dda7167327a84acab48f4436cc529ea2d64819
parent73c769c1cca09fbd48f6ae551d436124dfd18d17 (diff)
Ignore bundles when stabilizing groups
Bug: 399736937 Test: manual Flag: com.android.systemui.notification_bundle_ui Change-Id: I442e49b938173aad718b83277b7bd65de24546c8
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ShadeListBuilder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ShadeListBuilder.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ShadeListBuilder.java
index 21dcbfebd1d8..238ba8d9f490 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ShadeListBuilder.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ShadeListBuilder.java
@@ -679,7 +679,7 @@ public class ShadeListBuilder implements Dumpable, PipelineDumpable {
j--;
}
}
- } else {
+ } else if (tle instanceof NotificationEntry) {
// maybe put top-level-entries back into their previous groups
if (maybeSuppressGroupChange(tle.getRepresentativeEntry(), topLevelList)) {
// entry was put back into its previous group, so we remove it from the list of
@@ -687,7 +687,7 @@ public class ShadeListBuilder implements Dumpable, PipelineDumpable {
topLevelList.remove(i);
i--;
}
- }
+ } // Promoters ignore bundles so we don't have to demote any here.
}
Trace.endSection();
}