Make the undo/redo work for programmatic changes am: d6e08a1dae
Make the undo/redo work for programmatic changes am: d6e08a1dae

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

Change-Id: I676075424e41562c0eda4dd614a625eb92e74372

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