Merge "Fixed a crash when dumping groupmanager" into nyc-dev

This commit is contained in:
Selim Cinek
2016-05-12 19:09:58 +00:00
committed by Android (Google) Code Review

View File

@@ -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;