File tree Expand file tree Collapse file tree
sentry-android-core/src/main/java/io/sentry/android/core Expand file tree Collapse file tree Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments