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

Commit 02443031 authored by Jorge Gil's avatar Jorge Gil Committed by Android (Google) Code Review
Browse files

Merge "Add null check before using mHeadsUpManager"

parents 8ae8ca4d 13fc878e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -464,7 +464,7 @@ public class NotificationGroupManager implements OnHeadsUpChangedListener, State
        if (!sbn.isGroup() || sbn.getNotification().isGroupSummary()) {
            return false;
        }
        if (!mHeadsUpManager.isAlerting(entry.key)) {
        if (mHeadsUpManager != null && !mHeadsUpManager.isAlerting(entry.key)) {
            return false;
        }
        return (sbn.getNotification().fullScreenIntent != null