Skip to content

Add the subject of ANR in ANR Collection #3400

Open
@anjalsaneen

Description

@anjalsaneen

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 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions