mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
dumpstate hal: use vendor toybox
Bug: 36463595 Test: Dumpstate works Change-Id: I9f79924fe6c2c7624f97ce24dcf95f61ee165146 Signed-off-by: Sandeep Patil <sspatil@google.com>
This commit is contained in:
@@ -52,7 +52,7 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
|
||||
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", {"/system/bin/date"});
|
||||
RunCommandToFd(fd, "DATE", {"/vendor/bin/date"});
|
||||
DumpFileToFd(fd, "HOSTS", "/system/etc/hosts");
|
||||
|
||||
return Void();
|
||||
|
||||
Reference in New Issue
Block a user