Skip to content

Commit 9274199

Browse files
committed
Fix tests
1 parent 3285c5f commit 9274199

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

sentry-android-core/src/main/java/io/sentry/android/core/SendCachedEnvelopeIntegration.java

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package io.sentry.android.core;
22

3+
import static io.sentry.util.IntegrationUtils.addIntegrationToSdkVersion;
4+
35
import io.sentry.DataCategory;
46
import io.sentry.IConnectionStatusProvider;
57
import io.sentry.IHub;
@@ -54,6 +56,7 @@ public void register(@NotNull IHub hub, @NotNull SentryOptions options) {
5456
options.getLogger().log(SentryLevel.ERROR, "No cache dir path is defined in options.");
5557
return;
5658
}
59+
addIntegrationToSdkVersion("SendCachedEnvelope");
5760

5861
sendCachedEnvelopes(hub, this.options);
5962
}

sentry-android-core/src/main/java/io/sentry/android/core/TempSensorBreadcrumbsIntegration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private void startSensorListener(final @NotNull SentryOptions options) {
8787
sensorManager.registerListener(this, defaultSensor, SensorManager.SENSOR_DELAY_NORMAL);
8888

8989
options.getLogger().log(SentryLevel.DEBUG, "TempSensorBreadcrumbsIntegration installed.");
90-
addIntegrationToSdkVersion("TempSensor");
90+
addIntegrationToSdkVersion("TempSensorBreadcrumbs");
9191
} else {
9292
options.getLogger().log(SentryLevel.INFO, "TYPE_AMBIENT_TEMPERATURE is not available.");
9393
}

sentry/src/main/java/io/sentry/SendCachedEnvelopeFireAndForgetIntegration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void register(final @NotNull IHub hub, final @NotNull SentryOptions optio
7979
options
8080
.getLogger()
8181
.log(SentryLevel.DEBUG, "SendCachedEventFireAndForgetIntegration installed.");
82-
addIntegrationToSdkVersion("SendCachedEventFireAndForget");
82+
addIntegrationToSdkVersion("SendCachedEnvelopeFireAndForget");
8383

8484
sendCachedEnvelopes(hub, options);
8585
}

0 commit comments

Comments
 (0)