You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 47d20c2
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(android): Start a warm app start from onActivityPreCreated on API 29+ (#6719)
* fix(android): Start a warm app start from onActivityPreCreated on API 29+
The activity.load span starts in onActivityPreCreated, so a warm
app.start transaction anchored at onActivityCreated started after its
own first child. On API 29+ the first-activity logic now runs in
onActivityPreCreated; older versions keep onActivityCreated, since
pre-created callbacks don't exist there.
Fixes JAVA-850
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* changelog
* fix(android): Classify app start in onActivityCreated when onActivityPreCreated was missed
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Markus Hintersteiner <markus.hintersteiner@sentry.io>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
- Kotlin now sees `Attachment.getBytes()`, `Device.getArchs()`, `Spring.getActiveProfiles()` and `JsonSerializationUtils.bytesFrom(...)` as nullable, because `@Nullable` now annotates the returned array instead of its elements ([#6558](https://github.com/getsentry/sentry-java/pull/6558))
16
16
- Shake-to-report no longer leaks the first Activity that resumes after `Sentry.init` ([#6686](https://github.com/getsentry/sentry-java/pull/6686))
17
17
- Android app start: Reopening the app within a minute of process start is now reported as a warm start timed from the reopened screen, instead of reusing the cold start's timing. In standalone app start mode, this no longer sends the cold start a second time, as a warm start ([#6687](https://github.com/getsentry/sentry-java/pull/6687))
18
+
- Android app start: On Android 10+, a warm start now begins when the screen starts being created, matching its `activity.load` span ([#6719](https://github.com/getsentry/sentry-java/pull/6719))
0 commit comments