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

Commit 715ac38d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix file paths for DumpstateUtil calls in 1.0" into rvc-dev am:...

Merge "Fix file paths for DumpstateUtil calls in 1.0" into rvc-dev am: 3b491b48 am: a30b3562 am: 691cdcd6

Change-Id: I73288efc9b2612459a3fe4c5fae4b7472950ebf7
parents cf1aa031 691cdcd6
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -51,9 +51,8 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
    ALOGI("Dumpstate HIDL not provided by device\n");
    dprintf(fd, "Dumpstate HIDL not provided by device; providing bogus data.\n");

    // Shows some examples on how to use the libdumpstateutil API.
    RunCommandToFd(fd, "DATE", {"/vendor/bin/date"});
    DumpFileToFd(fd, "HOSTS", "/system/etc/hosts");
    // Shows an example on how to use the libdumpstateutil API.
    DumpFileToFd(fd, "cmdline", "/proc/self/cmdline");

    return Void();
}