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
{{ message }}
Repository navigation
Commit c38bf03
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
### Features
6
6
7
+
- Add Android SDK support for reporting `MemoryLimiter` app exits recovered from `ApplicationExitInfo`.
7
8
- Sentry can now configure Log4j2 automatically for Spring Boot 4 when `sentry-log4j2` is on the classpath and Log4j2 Core is the active logging backend ([#5403](https://github.com/getsentry/sentry-java/pull/5403))
Copy file name to clipboardExpand all lines: sentry-android-core/api/sentry-android-core.api
+23-1Lines changed: 23 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -334,6 +334,20 @@ public final class io/sentry/android/core/LoadClass : io/sentry/util/LoadClass {
334
334
public fun loadClass (Ljava/lang/String;Lio/sentry/ILogger;)Ljava/lang/Class;
335
335
}
336
336
337
+
public final class io/sentry/android/core/MemoryLimiterIntegration : io/sentry/Integration, java/io/Closeable {
338
+
public fun <init> (Landroid/content/Context;)V
339
+
public fun close ()V
340
+
public fun register (Lio/sentry/IScopes;Lio/sentry/SentryOptions;)V
341
+
}
342
+
343
+
public final class io/sentry/android/core/MemoryLimiterIntegration$MemoryLimiterHint : io/sentry/hints/BlockingFlushHint, io/sentry/hints/Backfillable {
344
+
public fun <init> (JLio/sentry/ILogger;JZ)V
345
+
public fun isFlushable (Lio/sentry/protocol/SentryId;)Z
346
+
public fun setFlushable (Lio/sentry/protocol/SentryId;)V
347
+
public fun shouldEnrich ()Z
348
+
public fun timestamp ()J
349
+
}
350
+
337
351
public final class io/sentry/android/core/NativeEventCollector {
338
352
public fun <init> (Lio/sentry/android/core/SentryAndroidOptions;)V
339
353
public fun collect ()V
@@ -446,7 +460,9 @@ public final class io/sentry/android/core/SentryAndroidOptions : io/sentry/Sentr
446
460
public fun isEnableStandaloneAppStartTracing ()Z
447
461
public fun isEnableSystemEventBreadcrumbs ()Z
448
462
public fun isEnableSystemEventBreadcrumbsExtras ()Z
463
+
public fun isMemoryLimiterEnabled ()Z
449
464
public fun isReportHistoricalAnrs ()Z
465
+
public fun isReportHistoricalMemoryLimiterExits ()Z
450
466
public fun isReportHistoricalTombstones ()Z
451
467
public fun isTombstoneEnabled ()Z
452
468
public fun setAnrEnabled (Z)V
@@ -480,10 +496,12 @@ public final class io/sentry/android/core/SentryAndroidOptions : io/sentry/Sentr
480
496
public fun setEnableSystemEventBreadcrumbs (Z)V
481
497
public fun setEnableSystemEventBreadcrumbsExtras (Z)V
482
498
public fun setFrameMetricsCollector (Lio/sentry/android/core/internal/util/SentryFrameMetricsCollector;)V
499
+
public fun setMemoryLimiterEnabled (Z)V
483
500
public fun setNativeHandlerStrategy (Lio/sentry/android/core/NdkHandlerStrategy;)V
484
501
public fun setNativeSdkName (Ljava/lang/String;)V
485
502
public fun setNdkAppHangTimeoutIntervalMillis (J)V
486
503
public fun setReportHistoricalAnrs (Z)V
504
+
public fun setReportHistoricalMemoryLimiterExits (Z)V
487
505
public fun setReportHistoricalTombstones (Z)V
488
506
public fun setTombstoneEnabled (Z)V
489
507
}
@@ -641,8 +659,8 @@ public class io/sentry/android/core/TombstoneIntegration$TombstonePolicy : io/se
641
659
public fun buildReport (Landroid/app/ApplicationExitInfo;Z)Lio/sentry/android/core/ApplicationExitInfoHistoryDispatcher$Report;
642
660
public fun getLabel ()Ljava/lang/String;
643
661
public fun getLastReportedTimestamp ()Ljava/lang/Long;
644
-
public fun getTargetReason ()I
645
662
public fun markReported (J)V
663
+
public fun matches (Landroid/app/ApplicationExitInfo;)Z
646
664
public fun shouldReportHistorical ()Z
647
665
}
648
666
@@ -747,14 +765,18 @@ public final class io/sentry/android/core/anr/StackTraceConverter {
747
765
public final class io/sentry/android/core/cache/AndroidEnvelopeCache : io/sentry/cache/EnvelopeCache {
748
766
public static final field LAST_ANR_MARKER_LABEL Ljava/lang/String;
749
767
public static final field LAST_ANR_REPORT Ljava/lang/String;
768
+
public static final field LAST_MEMORY_LIMITER_MARKER_LABEL Ljava/lang/String;
769
+
public static final field LAST_MEMORY_LIMITER_REPORT Ljava/lang/String;
750
770
public static final field LAST_TOMBSTONE_MARKER_LABEL Ljava/lang/String;
751
771
public static final field LAST_TOMBSTONE_REPORT Ljava/lang/String;
752
772
public fun <init> (Lio/sentry/android/core/SentryAndroidOptions;)V
753
773
public fun getDirectory ()Ljava/io/File;
754
774
public static fun hasStartupCrashMarker (Lio/sentry/SentryOptions;)Z
755
775
public static fun lastReportedAnr (Lio/sentry/SentryOptions;)Ljava/lang/Long;
776
+
public static fun lastReportedMemoryLimiter (Lio/sentry/SentryOptions;)Ljava/lang/Long;
756
777
public static fun lastReportedTombstone (Lio/sentry/SentryOptions;)Ljava/lang/Long;
757
778
public static fun markAnrReported (Lio/sentry/SentryOptions;J)V
779
+
public static fun markMemoryLimiterReported (Lio/sentry/SentryOptions;J)V
758
780
public static fun markTombstoneReported (Lio/sentry/SentryOptions;J)V
759
781
public fun store (Lio/sentry/SentryEnvelope;Lio/sentry/Hint;)V
760
782
public fun storeEnvelope (Lio/sentry/SentryEnvelope;Lio/sentry/Hint;)Z
0 commit comments