ui: don't throw exception for zero-duration instants am: df5b7cb44e am: 71c1296ea5 am: c2361acfd1 am: 6fe5b940ef am: be3ec4a39c
ui: don't throw exception for zero-duration instants am: df5b7cb44e am: 71c1296ea5 am: c2361acfd1 am: 6fe5b940ef am: be3ec4a39c

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

Change-Id: Iac519a2907b05607a642233c99eb3b28fde732dd

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