Skip to content

Commit de88636

Browse files
committed
Fix
1 parent a3f9a4d commit de88636

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131

3232
- Make `SystemEventsBreadcrumbsIntegration` faster ([#4330](https://github.com/getsentry/sentry-java/pull/4330))
3333

34-
### Improvements
35-
36-
- Make `SystemEventsBreadcrumbsIntegration` faster ([#4330](https://github.com/getsentry/sentry-java/pull/4330))
3734

3835
## 8.7.0
3936

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,8 @@ public void register(final @NotNull IScopes scopes, final @NotNull SentryOptions
6969
options
7070
.getLogger()
7171
.log(
72-
SentryLevel.INFO,
73-
"androidx.lifecycle is not available, AppLifecycleIntegration won't be installed",
74-
e);
72+
SentryLevel.WARNING,
73+
"androidx.lifecycle is not available, AppLifecycleIntegration won't be installed");
7574
} catch (IllegalStateException e) {
7675
options
7776
.getLogger()

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ private void addLifecycleObserver(final @NotNull SentryAndroidOptions options) {
207207
options
208208
.getLogger()
209209
.log(
210-
SentryLevel.DEBUG,
210+
SentryLevel.WARNING,
211211
"androidx.lifecycle is not available, SystemEventsBreadcrumbsIntegration won't be able"
212212
+ " to register/unregister an internal BroadcastReceiver. This may result in an"
213-
+ "increased ANR rate on Android 14 and above.");
213+
+ " increased ANR rate on Android 14 and above.");
214214
} catch (Throwable e) {
215215
options
216216
.getLogger()

0 commit comments

Comments
 (0)