commit | febe74eba01e6d9a83745059e3458117420bf905 | [log] [tgz] |
---|---|---|
author | Lyn Han <lynhan@google.com> | Thu Feb 20 22:26:41 2025 -0800 |
committer | Lyn Han <lynhan@google.com> | Thu Feb 20 22:29:53 2025 -0800 |
tree | 93edae71af5c2b9c3a3967759e3bbacf384fe179 | |
parent | 0fd067c697911b8edf9e2cf749f6bebde5a0067d [diff] |
Fix isInSection NPE from null representative entry Fixes: 398068574 Test: local Flag: EXEMPT bug fix Change-Id: I43ab1ffedac8c242f95cad12eec143b84489d9ff
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/RankingCoordinator.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/RankingCoordinator.java index 69b069d..9226450 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/RankingCoordinator.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/RankingCoordinator.java
@@ -117,6 +117,7 @@ @Override public boolean isInSection(ListEntry entry) { return !mHighPriorityProvider.isHighPriority(entry) + && entry.getRepresentativeEntry() != null && !entry.getRepresentativeEntry().isAmbient(); }