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

Commit 9c95b380 authored by Li Li's avatar Li Li
Browse files

Report app frozen status in ANR log

Bug: 192493418
Test: check Frozen status in ANR section of adb logcat
Change-Id: If22d1c675294219fd9d6f3936c95af488efe1f28
parent 69e2f6a7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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