Skip to content

Commit ef85bb6

Browse files
committed
Merge branch 'feat/app-start-extension-materialize' into feat/app-start-extension-api
2 parents f4756cb + 85e23d8 commit ef85bb6

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

sentry-android-core/src/main/java/io/sentry/android/core/ActivityLifecycleIntegration.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ private void startTracing(final @NotNull Activity activity) {
318318
continueBaggage = baggageHeader == null ? null : baggageHeader.getValue();
319319
} else if (extensionActive
320320
|| (isFollowingHeadlessAppStart && isWithinAppStartContinuationWindow(ttidStartTime))) {
321-
// Continue the eager extension's app.start trace, or an earlier headless app.start.
322321
continueSentryTrace = AppStartMetrics.getInstance().getAppStartSentryTraceHeader();
323322
continueBaggage = AppStartMetrics.getInstance().getAppStartBaggageHeader();
324323
} else {
@@ -327,9 +326,7 @@ private void startTracing(final @NotNull Activity activity) {
327326
}
328327

329328
if (extensionActive) {
330-
// Attach the screen (this first activity) so the eager app.start matches the foreground
331-
// standalone app.start and the event processor treats it as a foreground (not headless)
332-
// start.
329+
// Without a screen the processor would classify the eager app.start as a headless start.
333330
AppStartMetrics.getInstance()
334331
.getAppStartExtension()
335332
.setData(APP_START_SCREEN_DATA, activityName);

0 commit comments

Comments
 (0)