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

Commit ce6e3b50 authored by Pablo Gamito's avatar Pablo Gamito Committed by Android (Google) Code Review
Browse files

Merge "Ensure ProtoLogViewerConfig packet that defines the message requires...

Merge "Ensure ProtoLogViewerConfig packet that defines the message requires incremental state" into main
parents 80f422d3 439f61c1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -751,6 +751,10 @@ public class PerfettoProtoLogImpl extends IProtoLogClient.Stub implements IProto
            incrementalState.protologMessageInterningSet.add(messageHash);

            final ProtoOutputStream os = ctx.newTracePacket();

            // Dependent on the ProtoLog viewer config packet that contains the group information.
            os.write(SEQUENCE_FLAGS, SEQ_NEEDS_INCREMENTAL_STATE);

            final long protologViewerConfigToken = os.start(PROTOLOG_VIEWER_CONFIG);
            final long messageConfigToken = os.start(MESSAGES);