Add some bubble info to NotificationRecord dump method

- can it bubble
- is it a bubble

Bug: 154161673
Test: treehugger
Change-Id: I302b71a252a4de8a196ce959482cb96073682135
This commit is contained in:
Mady Mellor
2020-04-07 15:12:48 -07:00
parent 4cbb22353a
commit e96377eec8

View File

@@ -55,7 +55,6 @@ import android.service.notification.SnoozeCriterion;
import android.service.notification.StatusBarNotification;
import android.text.TextUtils;
import android.util.ArraySet;
import android.util.FeatureFlagUtils;
import android.util.Log;
import android.util.TimeUtils;
import android.util.proto.ProtoOutputStream;
@@ -581,6 +580,8 @@ public final class NotificationRecord {
pw.println(prefix + "mLight= " + mLight);
pw.println(prefix + "mShowBadge=" + mShowBadge);
pw.println(prefix + "mColorized=" + notification.isColorized());
pw.println(prefix + "mAllowBubble=" + mAllowBubble);
pw.println(prefix + "isBubble=" + notification.isBubbleNotification());
pw.println(prefix + "mIsInterruptive=" + mIsInterruptive);
pw.println(prefix + "effectiveNotificationChannel=" + getChannel());
if (getPeopleOverride() != null) {