diff options
| author | 2022-09-29 23:09:01 +0000 | |
|---|---|---|
| committer | 2022-09-29 23:09:01 +0000 | |
| commit | 0fda0b412a34cc7c82593a2fb90feac10b1b03ea (patch) | |
| tree | f41176fdbbc46c18776ba075bee8139b1479bf0a | |
| parent | 8660b203f27fb41757c89353fc8ecbbb154934e8 (diff) | |
| parent | 5b549c826c0faf26d7f9bae5d24686490a84819d (diff) | |
Merge "Get the current hardware sku for the vintf files" am: 90d6f65f55 am: e82f0946ca am: d47011e6a1 am: 15775ed47c am: 5b549c826c
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2227898
Change-Id: Ifa4649d1be0db9e74959881afcdac8971e521bd6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -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 235c9231ed..fe913411fa 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1426,7 +1426,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) { |