Skip to content

Commit af36328

Browse files
author
Bartosz Litwiniuk
committed
Uncomment code
1 parent 4c14ca1 commit af36328

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

backtrace-library/src/main/java/backtraceio/library/anr/BacktraceAppExitInfoSenderHandler.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,10 @@ private boolean isSupportedTypeOfApplicationExit(ExitInfo appExitInfo) {
140140
private boolean shouldProcessAppExitInfo(ExitInfo appExitInfo) {
141141
long lastAnrTimestamp = this.anrAppExitInfoState.getLastTimestamp();
142142
long anrTimestamp = appExitInfo.getTimestamp();
143-
144-
// TODO: uncomment
145-
// if (lastAnrTimestamp >= anrTimestamp) {
146-
// return false;
147-
// }
143+
144+
if (lastAnrTimestamp >= anrTimestamp) {
145+
return false;
146+
}
148147

149148
return isSupportedTypeOfApplicationExit(appExitInfo);
150149
}

0 commit comments

Comments
 (0)