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

Commit cf038cfb authored by Bryan Yu's avatar Bryan Yu
Browse files

Initiate anr_data_ for dumpstate limited only mode

When running in LimitedOnly mode, `anr_data_` was empty. Hence no ANR
traces were uploaded in the feedback reports.

Test reports uploaded:
http://listnr/product/208/report/91736461072
http://listnr/product/208/report/91736451197

Bug: 298145042
Test: Submit test reports to Listnr and verify the VM TRACES AT LAST ANR
session exist

Change-Id: I53981a73bfdb15e76007eb81567fe0fb5d00ee02
parent e3f60f7b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1569,6 +1569,7 @@ static void DumpstateLimitedOnly() {
    printf("== ANR Traces\n");
    printf("========================================================\n");

    ds.anr_data_ = GetDumpFds(ANR_DIR, ANR_FILE_PREFIX);
    AddAnrTraceFiles();

    printf("========================================================\n");