Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90f899e1 authored by Ben Miles's avatar Ben Miles
Browse files

Improve ANR debug store logging with more app lifecycle events

New debug store events:
* BindApp = bind application
* SchRcv = schedule receiver
* SchRcvReg = schedule registered receiver
* BcRcvReg = broadcast receive (registered receiver)

Also changed the semantics of some existing debug store events:
* GoAsync / Finish now include the pending result id (so readers can see which finish is for which goAsync)
* Finish no longer includes the receiver name (redundant)
* HandleReceiver is renamed to BcRcv for consistency with BcRcvReg

Also:
* Added some debug logging for the debug store

The rationale for adding these events is to make broadcast_of_intent and
bind_application ANRs more debuggable.

Change-Id: I28166f10a51db728cbdd177704263486d12c7ef8
Test: atest FrameworksCoreTests:com.android.internal.os.DebugStoreTest
Test: Manual testing
Flag: debug_store_enabled
parent a25530f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment