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

Commit ecb0e5ef authored by Pablo Gamito's avatar Pablo Gamito Committed by Automerger Merge Worker
Browse files

Dump the transition type in always on transition trace am: 78ece1c6 am: 2311a91b

parents 9132f110 2311a91b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -53,7 +53,8 @@ message Transition {
  required int64 create_time_ns = 4;
  required int64 send_time_ns = 5;
  optional int64 finish_time_ns = 6; // consider aborted if not provided
  repeated Target targets = 7;
  required int32 type = 7;
  repeated Target targets = 8;
}

message Target {
+2 −0
Original line number Diff line number Diff line
@@ -146,6 +146,8 @@ public class TransitionTracer {
                    transition.getSyncId());
        }

        outputStream.write(com.android.server.wm.shell.Transition.TYPE, transition.mType);

        for (int i = 0; i < targets.size(); ++i) {
            final long changeToken = outputStream
                    .start(com.android.server.wm.shell.Transition.TARGETS);