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

Commit febe74eb authored by Lyn Han's avatar Lyn Han
Browse files

Fix isInSection NPE from null representative entry

Fixes: 398068574
Test: local
Flag: EXEMPT bug fix
Change-Id: I43ab1ffedac8c242f95cad12eec143b84489d9ff
parent 0fd067c6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -117,6 +117,7 @@ public class RankingCoordinator implements Coordinator {
        @Override
        public boolean isInSection(ListEntry entry) {
            return !mHighPriorityProvider.isHighPriority(entry)
                    && entry.getRepresentativeEntry() != null
                    && !entry.getRepresentativeEntry().isAmbient();
        }