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

Commit de304907 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix bubbles crash when a null person is added to a notif."

parents da587dc1 22f90a09
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -224,7 +224,11 @@ public class BubbleExperimentConfig {
        // Use the icon of the person if available
        List<Person> personList = getPeopleFromNotification(entry);
        if (personList.size() > 0) {
            icon = personList.get(0).getIcon();
            final Person person = personList.get(0);

            if (person != null) {
                icon = person.getIcon();
            }
        }
        if (icon == null) {
            icon = notification.getLargeIcon() != null