Skip to content

Commit cd970cb

Browse files
committed
add tombstone manifest flag
1 parent 7d73c41 commit cd970cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ final class ManifestMetadataReader {
3434
static final String ANR_TIMEOUT_INTERVAL_MILLIS = "io.sentry.anr.timeout-interval-millis";
3535
static final String ANR_ATTACH_THREAD_DUMPS = "io.sentry.anr.attach-thread-dumps";
3636

37+
static final String TOMBSTONE_ENABLE = "io.sentry.tombstone.enable";
38+
3739
static final String AUTO_INIT = "io.sentry.auto-init";
3840
static final String NDK_ENABLE = "io.sentry.ndk.enable";
3941
static final String NDK_SCOPE_SYNC_ENABLE = "io.sentry.ndk.scope-sync.enable";
@@ -201,6 +203,8 @@ static void applyMetadata(
201203
}
202204

203205
options.setAnrEnabled(readBool(metadata, logger, ANR_ENABLE, options.isAnrEnabled()));
206+
options.setTombstoneEnabled(
207+
readBool(metadata, logger, TOMBSTONE_ENABLE, options.isTombstoneEnabled()));
204208

205209
// use enableAutoSessionTracking as fallback
206210
options.setEnableAutoSessionTracking(

0 commit comments

Comments
 (0)