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

am: 95b3120d08

* commit '95b3120d089ba4e2c8d2c7e4349ef754689ed68f':
  Fixed a crash when dumping groupmanager

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

View File

@@ -459,7 +459,8 @@ public class NotificationGroupManager implements HeadsUpManager.OnHeadsUpChanged
@Override @Override
public String toString() { public String toString() {
String result = " summary:\n " + summary.notification; String result = " summary:\n "
+ (summary != null ? summary.notification : "null");
result += "\n children size: " + children.size(); result += "\n children size: " + children.size();
for (NotificationData.Entry child : children) { for (NotificationData.Entry child : children) {
result += "\n " + child.notification; result += "\n " + child.notification;