firebase / firebase/firebase-android-sdk

Add the subject of ANR in ANR Collection

Open
#3,400 2 comments 0 reactions 0 assignees View on GitHub
api: crashlytics type: feature request
Dominant language
Java
Stars
2.6k
Forks
710
Avg merge
2d 9h
Merged PRs (30d)
31

Description

## What feature would you like to see?

Add the subject of ANR in ANR Collection. The subject would give an idea about what causes an ANR. it's the title of ANR in play vitals. But it's missing on firebase. it's saved as an header in trace file [here](https://cs.android.com/android/platform/superproject/+/android-12.0.0_r4:frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java;l=3241) in AOSP.

**Example of some of the subjects:**
- executing service in.okcredit.merchant/ androidx.work.impl.background.systemjob.SystemJobService

- Broadcast of Intent { act=android.intent.action.TIME_SET cmp=/androidx.work.impl.background.systemalarm.RescheduleReceiver

https://cs.android.com/android/platform/superproject/+/android-12.0.0_r4:frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java;l=3241

## How would you use it?

It provides who causes an ANR. Is it from service, broadcast receiver or Activity due to input Dispatching TimedOut, etc. it's critical for understanding the ANR

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.