Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ limitations under the License.

### Scope

The Sentry Java SDK includes an adapted version of the ANR-WatchDog library for Application Not Responding (ANR) detection on Android. The code resides in `io.sentry.vendor.anrwatchdog.ANRWatchDog` and `io.sentry.android.core.ApplicationNotResponding` (adapted from `ANRError`).
The Sentry Java SDK includes an adapted version of the ANR-WatchDog library for Application Not Responding (ANR) detection on Android. The code resides in `io.sentry.vendor.anrwatchdog.ANRWatchDog`.

```
MIT License
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Adapted from ANR-WatchDog.
// Copyright (c) 2016 Salomon BRYS.
// Licensed under the MIT License.
// https://github.com/SalomonBrys/ANR-WatchDog/blob/1969075f75f5980e9000eaffbaa13b0daf282dcb/anr-watchdog/src/main/java/com/github/anrwatchdog/ANRError.java
// The API unnecessary here was removed.
package io.sentry.android.core;

import io.sentry.util.Objects;
Expand All @@ -11,12 +6,8 @@
import org.jetbrains.annotations.Nullable;

/**
* Error thrown by ANRWatchDog when an ANR is detected. Contains the stack trace of the frozen UI
* thread.
*
* <p>It is important to notice that, in an ApplicationNotResponding, all the "Caused by" are not
* really the cause of the exception. Each "Caused by" is the stack trace of a running thread. Note
* that the main thread always comes first.
* Represents an Android application-not-responding condition and carries a snapshot of the
* unresponsive thread's stack trace when available.
*/
@ApiStatus.Internal
public final class ApplicationNotResponding extends RuntimeException {
Expand Down
Loading