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

Commit 07a35fc7 authored by Lyn Han's avatar Lyn Han Committed by Android (Google) Code Review
Browse files

Merge "Add section tracing to bundleNotifs" into main

parents 5635fd5c 7b1ae1c7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -764,6 +764,7 @@ public class ShadeListBuilder implements Dumpable, PipelineDumpable {
    }

    private void bundleNotifs(List<PipelineEntry> in, List<PipelineEntry> out) {
        Trace.beginSection("ShadeListBuilder.bundleNotifs");
        // Bundle NotificationEntry and non-empty GroupEntry
        for (PipelineEntry pipelineEntry : in) {
            if (!(pipelineEntry instanceof ListEntry listEntry)) {
@@ -790,6 +791,7 @@ public class ShadeListBuilder implements Dumpable, PipelineDumpable {
        }
        // Add all BundleEntry to the list. They will be pruned later if they are empty.
        out.addAll(mIdToBundleEntry.values());
        Trace.endSection();
    }

    private void stabilizeGroupingNotifs(List<PipelineEntry> topLevelList) {