@@ -950,30 +950,41 @@ public void setActiveSpan(final @Nullable ISpan span) {
950950 getOptions ().getCacheDirPath (), !getOptions ().isEnableAutoSessionTracking ());
951951 }
952952
953- @ Override
954- public void reportFullyDisplayed () {
955- if (getOptions ().isEnableTimeToFullDisplayTracing ()) {
956- getOptions ().getFullyDisplayedReporter ().reportFullyDrawn ();
957- }
958- }
959-
960953 @ Override
961954 public @ Nullable TransactionContext continueTrace (
962- final @ Nullable String sentryTrace , final @ Nullable List <String > baggageHeaders ) {
955+ final @ Nullable String sentryTrace , final @ Nullable List <String > baggageHeaders ) {
963956 @ NotNull
964957 PropagationContext propagationContext =
965- PropagationContext .fromHeaders (getOptions ().getLogger (), sentryTrace , baggageHeaders );
958+ PropagationContext .fromHeaders (getOptions ().getLogger (), sentryTrace , baggageHeaders );
966959 configureScope (
967- (scope ) -> {
968- scope .setPropagationContext (propagationContext );
969- });
960+ (scope ) -> {
961+ scope .setPropagationContext (propagationContext );
962+ });
970963 if (getOptions ().isTracingEnabled ()) {
971964 return TransactionContext .fromPropagationContext (propagationContext );
972965 } else {
973966 return null ;
974967 }
975968 }
976969
970+ @ Override
971+ public void continueTrace (
972+ final @ NotNull String traceId , final @ NotNull String spanID ) {
973+ @ NotNull
974+ PropagationContext propagationContext = PropagationContext .fromId (traceId , spanID );
975+ configureScope (
976+ (scope ) -> {
977+ scope .setPropagationContext (propagationContext );
978+ });
979+ }
980+
981+ @ Override
982+ public void reportFullyDisplayed () {
983+ if (getOptions ().isEnableTimeToFullDisplayTracing ()) {
984+ getOptions ().getFullyDisplayedReporter ().reportFullyDrawn ();
985+ }
986+ }
987+
977988 @ Override
978989 public @ Nullable SentryTraceHeader getTraceparent () {
979990 if (!isEnabled ()) {
0 commit comments