Repository navigation
license(android): [Vendored Packages 2] Remove stale ANR exception attribution - #6819
Open
adinauer wants to merge 1 commit into
Conversation
Treat ApplicationNotResponding as an SDK-owned implementation now that it no longer retains the upstream ANRError structure or behavior. Replace the copied Javadoc and limit the ANR-WatchDog notice scope to the adapted watchdog implementation. Co-Authored-By: Claude <[email protected]>
4 of 9 tasks
Contributor
PR risk: lowFor commit This label is a hint for reviewers, not an approval. |
📲 Install BuildsAndroid
|
adinauer
marked this pull request as ready for review
December 1, 2026 15:32
adinauer
requested review from
0xadam-brown and
markushi
and removed request for
a team
December 1, 2026 15:32
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Stack (Vendored Packages)
📜 Description
Remove the ANR-WatchDog attribution header from
ApplicationNotResponding, replace its copied Javadoc with an accurate description of the current class, and limit the ANR-WatchDog entry inTHIRD_PARTY_NOTICES.mdto the adaptedANRWatchDogimplementation.The ANR-WatchDog attribution and full MIT license remain in place for
io.sentry.vendor.anrwatchdog.ANRWatchDog.💡 Motivation and Context
The current
ApplicationNotRespondingimplementation no longer retains the upstreamANRErrorstructure: it does not use its error hierarchy, thread cause chain, duration field, factories, thread enumeration, or main-looper lookup. After replacing the copied Javadoc, the remaining behavior is SDK-owned exception state and the generic Java operation of copying a supplied thread's stack trace.This PR is intentionally separated from #6796 so the attribution removal can receive explicit legal/compliance review. It should not merge until that review confirms the upstream copyright and notice are no longer required for this class.
💚 How did you test it?
make format api.📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
#skip-changelog