Make the undo/redo work for programmatic changes am: d6e08a1dae am: bb197792cb am: 649b5bc9e0 am: 8d6db66360
Make the undo/redo work for programmatic changes am: d6e08a1dae am: bb197792cb am: 649b5bc9e0 am: 8d6db66360

Original change: https://android-review.googlesource.com/c/platform/external/perfetto/+/1906450

Change-Id: I2671a2f04a6f918210e26d96e924140ca4628ac6

google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto