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

Commit cb4d1a91 authored by JP Abgrall's avatar JP Abgrall
Browse files

dumpstate: don't attempt to use vril-dump, it breaks adb bugreport


http://b/4442803

 vril-dump's usage of adb causes bugreport to hang

lcm-dump.sh re-uses adb which breaks.

Change-Id: I5eeb30f78793c0a6d10bfaf0097d6aa7b811cf66
Signed-off-by: default avatarJP Abgrall <jpa@google.com>
parent 78ae81ef
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -133,12 +133,14 @@ static void dumpstate() {
            "su", "root", "wlutil", "counters", NULL);
#endif

#ifdef BROKEN_VRIL_IS_FIXED_B_4442803
   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);
    }
#endif

    print_properties();