Skip to content

Commit c7cad14

Browse files
committed
Comment
1 parent b7a5e0a commit c7cad14

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sentry-android-core/src/main/java/io/sentry/android/core/internal/util/AndroidConnectionStatusProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,9 @@ public void onForeground() {
494494
}
495495
}
496496

497+
// this will ONLY do the necessary parts like registerNetworkCallback and onAvailable, but
498+
// it won't updateCache and notify observes because we just did it above and the cached
499+
// capabilities will be the same
497500
ensureNetworkCallbackRegistered();
498501
});
499502
}

0 commit comments

Comments
 (0)