Skip to content

Commit 6ef06c6

Browse files
authored
Merge 0153ab5 into 2bfacef
2 parents 2bfacef + 0153ab5 commit 6ef06c6

File tree

10 files changed

+840
-164
lines changed

10 files changed

+840
-164
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Fixes
66

77
- Allow multiple UncaughtExceptionHandlerIntegrations to be active at the same time ([#4462](https://github.com/getsentry/sentry-java/pull/4462))
8+
- Cache network capabilities and status to reduce IPC calls ([#4560](https://github.com/getsentry/sentry-java/pull/4560))
89

910
## 8.17.0
1011

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import io.sentry.android.core.internal.gestures.AndroidViewGestureTargetLocator;
2929
import io.sentry.android.core.internal.modules.AssetsModulesLoader;
3030
import io.sentry.android.core.internal.util.AndroidConnectionStatusProvider;
31+
import io.sentry.android.core.internal.util.AndroidCurrentDateProvider;
3132
import io.sentry.android.core.internal.util.AndroidThreadChecker;
3233
import io.sentry.android.core.internal.util.SentryFrameMetricsCollector;
3334
import io.sentry.android.core.performance.AppStartMetrics;
@@ -157,7 +158,8 @@ static void initializeIntegrationsAndProcessors(
157158

158159
if (options.getConnectionStatusProvider() instanceof NoOpConnectionStatusProvider) {
159160
options.setConnectionStatusProvider(
160-
new AndroidConnectionStatusProvider(context, options.getLogger(), buildInfoProvider));
161+
new AndroidConnectionStatusProvider(
162+
context, options, buildInfoProvider, AndroidCurrentDateProvider.getInstance()));
161163
}
162164

163165
if (options.getCacheDirPath() != null) {

0 commit comments

Comments
 (0)