You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@
2
2
3
3
## Unreleased
4
4
5
+
### Internal
6
+
7
+
- Use single `LifecycleObserver` and multi-cast it to the integrations interested in lifecycle states ([#4567](https://github.com/getsentry/sentry-java/pull/4567))
8
+
5
9
### Fixes
6
10
7
11
- Allow multiple UncaughtExceptionHandlerIntegrations to be active at the same time ([#4462](https://github.com/getsentry/sentry-java/pull/4462))
Copy file name to clipboardExpand all lines: sentry-android-core/api/sentry-android-core.api
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -166,11 +166,17 @@ public final class io/sentry/android/core/AppLifecycleIntegration : io/sentry/In
166
166
public fun register (Lio/sentry/IScopes;Lio/sentry/SentryOptions;)V
167
167
}
168
168
169
-
public final class io/sentry/android/core/AppState {
169
+
public final class io/sentry/android/core/AppState : java/io/Closeable {
170
+
public fun close ()V
170
171
public static fun getInstance ()Lio/sentry/android/core/AppState;
171
172
public fun isInBackground ()Ljava/lang/Boolean;
172
173
}
173
174
175
+
public abstract interface class io/sentry/android/core/AppState$AppStateListener {
176
+
public abstract fun onBackground ()V
177
+
public abstract fun onForeground ()V
178
+
}
179
+
174
180
public final class io/sentry/android/core/BuildConfig {
175
181
public static final field BUILD_TYPE Ljava/lang/String;
176
182
public static final field DEBUG Z
@@ -420,11 +426,13 @@ public class io/sentry/android/core/SpanFrameMetricsCollector : io/sentry/IPerfo
420
426
public fun onSpanStarted (Lio/sentry/ISpan;)V
421
427
}
422
428
423
-
public final class io/sentry/android/core/SystemEventsBreadcrumbsIntegration : io/sentry/Integration, java/io/Closeable {
429
+
public final class io/sentry/android/core/SystemEventsBreadcrumbsIntegration : io/sentry/Integration, io/sentry/android/core/AppState$AppStateListener, java/io/Closeable {
424
430
public fun <init> (Landroid/content/Context;)V
425
431
public fun <init> (Landroid/content/Context;Ljava/util/List;)V
426
432
public fun close ()V
427
433
public static fun getDefaultActions ()Ljava/util/List;
434
+
public fun onBackground ()V
435
+
public fun onForeground ()V
428
436
public fun register (Lio/sentry/IScopes;Lio/sentry/SentryOptions;)V
0 commit comments