diff options
| -rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 6f8654ed24..6e9747f4dd 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1405,7 +1405,9 @@ static void DumpHals(int out_fd = STDOUT_FILENO) { // Dump all of the files that make up the vendor interface. // See the files listed in dumpFileList() for the latest list of files. static void DumpVintf() { - const auto vintfFiles = android::vintf::details::dumpFileList(); + + const std::string sku = android::base::GetProperty("ro.boot.product.hardware.sku", ""); + const auto vintfFiles = android::vintf::details::dumpFileList(sku); for (const auto vintfFile : vintfFiles) { struct stat st; if (stat(vintfFile.c_str(), &st) == 0) { |