Skip to content

Commit b2152fd

Browse files
authored
Mention ANR mechanism changes in the changelog (#2748)
1 parent d528048 commit b2152fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,14 @@
5757
- New ANR detection based on [ApplicationExitInfo API](https://developer.android.com/reference/android/app/ApplicationExitInfo) ([#2697](https://github.com/getsentry/sentry-java/pull/2697))
5858
- This implementation completely replaces the old one (based on a watchdog) on devices running Android 11 and above:
5959
- New implementation provides more precise ANR events/ANR rate detection as well as system thread dump information. The new implementation reports ANRs exactly as Google Play Console, without producing false positives or missing important background ANR events.
60+
- New implementation reports ANR events with a new mechanism `mechanism:AppExitInfo`.
6061
- However, despite producing many false positives, the old implementation is capable of better enriching ANR errors (which is not available with the new implementation), for example:
6162
- Capturing screenshots at the time of ANR event;
6263
- Capturing transactions and profiling data corresponding to the ANR event;
6364
- Auxiliary information (such as current memory load) at the time of ANR event.
6465
- If you would like us to provide support for the old approach working alongside the new one on Android 11 and above (e.g. for raising events for slow code on main thread), consider upvoting [this issue](https://github.com/getsentry/sentry-java/issues/2693).
65-
- The old watchdog implementation will continue working for older API versions (Android < 11)
66+
- The old watchdog implementation will continue working for older API versions (Android < 11):
67+
- The old implementation reports ANR events with the existing mechanism `mechanism:ANR`.
6668
- Open up `TransactionOptions`, `ITransaction` and `IHub` methods allowing consumers modify start/end timestamp of transactions and spans ([#2701](https://github.com/getsentry/sentry-java/pull/2701))
6769
- Send source bundle IDs to Sentry to enable source context ([#2663](https://github.com/getsentry/sentry-java/pull/2663))
6870
- For more information on how to enable source context, please refer to [#633](https://github.com/getsentry/sentry-java/issues/633#issuecomment-1465599120)

0 commit comments

Comments
 (0)