Skip to content

Commit d8c97d1

Browse files
authored
Merge pull request #6819 from getsentry/license/remove-application-not-responding-attribution-v9
license(android): [Vendored Packages 2] Remove stale ANR exception attribution
2 parents 4d84ee6 + 2b0de6d commit d8c97d1

2 files changed

Lines changed: 3 additions & 12 deletions

File tree

‎THIRD_PARTY_NOTICES.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ limitations under the License.
455455

456456
### Scope
457457

458-
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`).
458+
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`.
459459

460460
```
461461
MIT License

‎sentry-android-core/src/main/java/io/sentry/android/core/ApplicationNotResponding.java‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// Adapted from ANR-WatchDog.
2-
// Copyright (c) 2016 Salomon BRYS.
3-
// Licensed under the MIT License.
4-
// https://github.com/SalomonBrys/ANR-WatchDog/blob/1969075f75f5980e9000eaffbaa13b0daf282dcb/anr-watchdog/src/main/java/com/github/anrwatchdog/ANRError.java
5-
// The API unnecessary here was removed.
61
package io.sentry.android.core;
72

83
import io.sentry.util.Objects;
@@ -11,12 +6,8 @@
116
import org.jetbrains.annotations.Nullable;
127

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

0 commit comments

Comments
 (0)