Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b22322b authored by Jeff DeCew's avatar Jeff DeCew Committed by Android (Google) Code Review
Browse files

Merge "Improve dumps/logs to diagnose mis-ordered group children"

parents cab6ff99 c3bae8e7
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -121,6 +121,12 @@ public class ListDumper {
            sb.append(" (parent=")
                    .append(entry.getParent() != null ? entry.getParent().getKey() : null)
                    .append(")");

            NotificationEntry notifEntry = entry.getRepresentativeEntry();
            if (notifEntry != null) {
                sb.append(" rank=")
                        .append(notifEntry.getRanking().getRank());
            }
        }

        if (entry.getSection() != null) {
+3 −6
Original line number Diff line number Diff line
@@ -25,12 +25,9 @@ data class NotifSection(
    val sectioner: NotifSectioner,
    val index: Int
) {
    val label: String
        get() = "Section($index, $bucket, \"${sectioner.name}\")"

    @PriorityBucket
    val bucket: Int = sectioner.bucket
    val label: String = "$index:$bucket:${sectioner.name}"
    val headerController: NodeController? = sectioner.headerNodeController

    val comparator: NotifComparator? = sectioner.comparator

    @PriorityBucket val bucket: Int = sectioner.bucket
}