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 @@ -1026,13 +1026,10 @@ private void onHeadlessAppStart() {
10261026
10271027 final @ NotNull AppStartExtension extension = metrics .getAppStartExtension ();
10281028 if (extension .isActive ()) {
1029- // Extended start still open: finish the eager txn instead of creating a second one.
10301029 extension .finishTransaction (endTime );
10311030 return ;
10321031 }
10331032 if (!metrics .shouldSendStartMeasurements (true )) {
1034- // The extension already created and finished this app.start (finishExtendedAppStart or the
1035- // deadline); don't create a duplicate.
10361033 return ;
10371034 }
10381035
@@ -1101,8 +1098,6 @@ private void onHeadlessAppStart() {
11011098 }
11021099 final @ NotNull AppStartMetrics metrics = AppStartMetrics .getInstance ();
11031100
1104- // The earliest known start of this app start (process start when perf-v2 is available, else SDK
1105- // init). It is available before the first activity because SentryPerformanceProvider sets it.
11061101 final @ NotNull TimeSpan appStartTimeSpan =
11071102 metrics .getAppStartTimeSpan ().hasStarted ()
11081103 ? metrics .getAppStartTimeSpan ()
@@ -1112,8 +1107,6 @@ private void onHeadlessAppStart() {
11121107 return null ;
11131108 }
11141109
1115- // The app start txn inherits the sampling decision from app start profiling, then clears it so
1116- // it doesn't leak to the later ui.load.
11171110 final @ Nullable TracesSamplingDecision samplingDecision = metrics .getAppStartSamplingDecision ();
11181111 metrics .setAppStartSamplingDecision (null );
11191112
You can’t perform that action at this time.
0 commit comments