Merge "Fixed a crash when dumping groupmanager" into nyc-dev am: 95b3120d08

am: 2e0e23b684

* commit '2e0e23b68473da94b7d5abda66735e7f1d9f619d':
  Fixed a crash when dumping groupmanager

Change-Id: Ic6e6e07b46c1dc20e16f472982bd3f63e0e03311
This commit is contained in:
Selim Cinek
2016-05-12 19:19:26 +00:00
committed by android-build-merger

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;