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

Commit 7b1ae1c7 authored by lyn's avatar lyn
Browse files

Add section tracing to bundleNotifs

Fixes: 410927954
Bug: 410104208
Test: perfetto
Flag: com.android.systemui.notification_bundle_ui
Change-Id: I8f8ebd983f29c4cfed2f57b4576de99b81a0c4b0
parent 8b1ff2e3
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) {