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

Commit a1c29d30 authored by Wink Saville's avatar Wink Saville Committed by Android (Google) Code Review
Browse files

Merge "Support for Vendor RIL dump of baseband logs" into honeycomb-LTE

parents 92cc1d20 71bbe7a8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -124,6 +124,13 @@ static void dumpstate() {
            "su", "root", "wlutil", "counters", NULL);
#endif

    char ril_dumpstate_timeout[PROPERTY_VALUE_MAX] = {0};
    property_get("ril.dumpstate.timeout", ril_dumpstate_timeout, "30");
    if (strlen(ril_dumpstate_timeout) > 0) {
        run_command("DUMP VENDOR RIL LOGS", atoi(ril_dumpstate_timeout),
                "su", "root", "vril-dump", NULL);
    }

    print_properties();

    run_command("KERNEL LOG", 20, "dmesg", NULL);