No description provided.
Bug 1594032 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Since the `GleanLifecycleObserver` is registered inside of `Glean.initialize`, if the initialize function is called anywhere outside of the `Application.onCreate` function then we would miss the `onStart` event which calls `GleanBaseline.duration.start`. This would cause `stop` to be called without start and generate a Glean error.
Since the `GleanLifecycleObserver` is registered inside of `Glean.initialize`, if the initialize function is called anywhere outside of the `Application.onCreate` function then we would miss the `onStart` event which calls `GleanBaseline.duration.start`. This would cause `stop` to be called without `start` and generate a Glean error.