Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

moving back ANR timeout from long to int param. #252

Merged
merged 1 commit into from
Jan 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static void applyMetadata(Context context, SentryAndroidOptions options) {
options.setAnrReportInDebug(isAnrReportInDebug);

long anrTimeoutIntervalMills =
metadata.getLong(ANR_TIMEOUT_INTERVAL_MILLS, options.getAnrTimeoutIntervalMills());
metadata.getInt(ANR_TIMEOUT_INTERVAL_MILLS, (int) options.getAnrTimeoutIntervalMills());
options
.getLogger()
.log(SentryLevel.DEBUG, "anrTimeoutIntervalMills read: %d", anrTimeoutIntervalMills);
Expand Down