diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationGroupManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationGroupManager.java index d2326d2c2d7f6..270b6edbe367f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationGroupManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationGroupManager.java @@ -459,7 +459,8 @@ public class NotificationGroupManager implements HeadsUpManager.OnHeadsUpChanged @Override public String toString() { - String result = " summary:\n " + summary.notification; + String result = " summary:\n " + + (summary != null ? summary.notification : "null"); result += "\n children size: " + children.size(); for (NotificationData.Entry child : children) { result += "\n " + child.notification;