Report app frozen status in ANR log

Bug: 192493418
Test: check Frozen status in ANR section of adb logcat
Change-Id: If22d1c675294219fd9d6f3936c95af488efe1f28
This commit is contained in:
Li Li
2021-06-30 15:18:21 -07:00
parent 69e2f6a7de
commit 9c95b38046

View File

@@ -333,6 +333,7 @@ class ProcessErrorStateRecord {
if (errorId != null) {
info.append("ErrorId: ").append(errorId.toString()).append("\n");
}
info.append("Frozen: ").append(mApp.mOptRecord.isFrozen()).append("\n");
// Retrieve controller with max ANR delay from AnrControllers
// Note that we retrieve the controller before dumping stacks because dumping stacks can