Fixed a crash when dumping groupmanager
Change-Id: Id5ffb9e61c1a17d5bd7d8f58024bf84c0fbb6781 Fixes: 28706404
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user