From 6eb03304e6f19206c41911cae6f3a2c0bccefa17 Mon Sep 17 00:00:00 2001 From: Jason Plumb Date: Fri, 1 Dec 2023 14:34:08 -0800 Subject: [PATCH] let upstream handle screen attributes --- .../src/main/java/com/splunk/rum/RumInitializer.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/splunk-otel-android/src/main/java/com/splunk/rum/RumInitializer.java b/splunk-otel-android/src/main/java/com/splunk/rum/RumInitializer.java index cbcfa7aa..81bc9d38 100644 --- a/splunk-otel-android/src/main/java/com/splunk/rum/RumInitializer.java +++ b/splunk-otel-android/src/main/java/com/splunk/rum/RumInitializer.java @@ -119,15 +119,6 @@ SplunkRum initialize( return tracerProviderBuilder.addSpanProcessor(networkAttributesSpanAppender); }); - // Add span processor that appends screen attributes and generate init event. - otelRumBuilder.addTracerProviderCustomizer( - (tracerProviderBuilder, app) -> { - ScreenAttributesAppender screenAttributesAppender = - new ScreenAttributesAppender(visibleScreenTracker); - initializationEvents.emit("attributeAppenderInitialized"); - return tracerProviderBuilder.addSpanProcessor(screenAttributesAppender); - }); - // Add batch span processor otelRumBuilder.addTracerProviderCustomizer( (tracerProviderBuilder, app) -> {