Bug 1549982 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

This isn't going to be as straightforward to fix as I first thought.  Since the change to Timespans that made them pass in an object to key start and stop with, I figured I could just pass in the instance of GleanLifecycleObserver in Glean.kt in order to stop and sum the duration.  Unfortunately, this doesn't seem to work and just shows up as an error count in the ping rather than the duration.
This isn't going to be as straightforward to fix as I first thought.  Since the change to Timespans that made them pass in an object to key start and stop with, I figured I could just pass in the instance of GleanLifecycleObserver from Glean.kt into the `stopAndSum` function inside of `GleanDebugActivity` order to stop and sum the duration.  Unfortunately, this doesn't seem to work and just shows up as an error count in the ping rather than the duration.

Back to Bug 1549982 Comment 1