Skip to content

Initial display time is reported incorrectly #3896

@zhukic

Description

@zhukic

Integration

sentry-android

Build System

Gradle

AGP Version

8.7.2

Proguard

Enabled

Version

7.14.0

Steps to Reproduce

  1. Enable "Don't keep activities" in developer options.
  2. Open app
  3. Leave the app
  4. Open the app again in 20 seconds

Expected Result

Correct ui.load span

Actual Result

ui.load span duration is more than 20 seconds

Image

As I understand, the root cause is here - when an activity gets destroyed in the background its paused time is used as the start time for the next ui.load transaction

Metadata

Metadata

Assignees

Labels

BugIssue type
No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions