Add displays to the first tracing entry

We were tracking and adding displays to the
initial trace entry but we were not marking it
as changed. This would cause us to omit the
initial display states when generating the
layers trace.

Fixes: 298003513
Test: main/external/perfetto$ printproto --proto2 --proto protos/perfetto/trace/android/winscope.proto --resolve_protos --message perfetto.protos.TransactionTraceFile --raw_protocol_buffer transactions_trace.winscope --multiline | vi -
Test: atest TransactionTracingTest
Change-Id: I71d05b62d0cfd845e78b0b2b2350f3b9410d178f
2 files changed