@@ -265,23 +265,23 @@ private void startTracing(final @NotNull Activity activity) {
265265 transactionOptions .setAppStartTransaction (appStartSamplingDecision != null );
266266 setSpanOrigin (transactionOptions );
267267
268- // Guards the headless-start check below with !extensionActive so the eager extension's
268+ // Guards the headless-start check below with !isExtensionActive so the eager extension's
269269 // stored trace id isn't mistaken for a finished headless start.
270- final boolean extensionActive =
270+ final boolean isExtensionActive =
271271 AppStartMetrics .getInstance ().getAppStartExtension ().isActive ();
272272
273273 final @ Nullable SentryId storedAppStartTraceId =
274274 AppStartMetrics .getInstance ().getAppStartTraceId ();
275275 final boolean isFollowingHeadlessAppStart =
276- !extensionActive && (storedAppStartTraceId != null );
276+ !isExtensionActive && (storedAppStartTraceId != null );
277277
278278 final boolean isAppStart =
279279 !(firstActivityCreated || appStartTime == null || coldStart == null );
280280 final boolean createStandaloneAppStart =
281281 isAppStart
282282 && options .isEnableStandaloneAppStartTracing ()
283283 && !isFollowingHeadlessAppStart
284- && !extensionActive ;
284+ && !isExtensionActive ;
285285
286286 if (createStandaloneAppStart ) {
287287 final TransactionOptions appStartTransactionOptions = new TransactionOptions ();
@@ -312,7 +312,7 @@ private void startTracing(final @NotNull Activity activity) {
312312 continueSentryTrace = appStartTransaction .toSentryTrace ().getValue ();
313313 final @ Nullable BaggageHeader baggageHeader = appStartTransaction .toBaggageHeader (null );
314314 continueBaggage = baggageHeader == null ? null : baggageHeader .getValue ();
315- } else if (extensionActive
315+ } else if (isExtensionActive
316316 || (isFollowingHeadlessAppStart && isWithinAppStartContinuationWindow (ttidStartTime ))) {
317317 continueSentryTrace = AppStartMetrics .getInstance ().getAppStartSentryTraceHeader ();
318318 continueBaggage = AppStartMetrics .getInstance ().getAppStartBaggageHeader ();
@@ -321,7 +321,7 @@ private void startTracing(final @NotNull Activity activity) {
321321 continueBaggage = null ;
322322 }
323323
324- if (extensionActive && isAppStart ) {
324+ if (isExtensionActive && isAppStart ) {
325325 // Only the launch activity sets the screen, so a later activity can't overwrite it. A
326326 // screen also keeps the processor from classifying the eager app.start as headless.
327327 AppStartMetrics .getInstance ()
@@ -348,7 +348,7 @@ private void startTracing(final @NotNull Activity activity) {
348348 transactionOptions );
349349 }
350350
351- if (isFollowingHeadlessAppStart || extensionActive ) {
351+ if (isFollowingHeadlessAppStart || isExtensionActive ) {
352352 // Consume the stored app-start trace so a later activity doesn't reuse it.
353353 AppStartMetrics .getInstance ().setAppStartTraceId (null );
354354 AppStartMetrics .getInstance ().setAppStartSentryTraceHeader (null );
0 commit comments