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

Commit a0829e7e authored by Sooraj Sasindran's avatar Sooraj Sasindran
Browse files

Add non platform services to telephony bugreport

Add non platform services to telephony bugreport

Bug: 79400204

Test: Tested telephony bugreport and confirmed existence of
      Location service
      Tested the size difference. Here is the final results
      Without the change: 3MB
      With the change: 5 MB
      Full bugreport:10 MB

Change-Id: If128a33106d70e827c7c26f0195c84e5722f6f3d
parent 1236c388
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1504,6 +1504,7 @@ static void DumpstateRadioCommon() {
// This method collects dumpsys for telephony debugging only
static void DumpstateTelephonyOnly() {
    DurationReporter duration_reporter("DUMPSTATE");
    const CommandOptions DUMPSYS_COMPONENTS_OPTIONS = CommandOptions::WithTimeout(60).Build();

    DumpstateRadioCommon();

@@ -1528,6 +1529,13 @@ static void DumpstateTelephonyOnly() {

    RunDumpsys("TELEPHONY SERVICES", {"activity", "service", "TelephonyDebugService"});

    printf("========================================================\n");
    printf("== Running Application Services (non-platform)\n");
    printf("========================================================\n");

    RunDumpsys("APP SERVICES NON-PLATFORM", {"activity", "service", "all-non-platform"},
            DUMPSYS_COMPONENTS_OPTIONS);

    printf("========================================================\n");
    printf("== dumpstate: done (id %d)\n", ds.id_);
    printf("========================================================\n");