diff options
| author | 2022-09-29 20:52:56 +0000 | |
|---|---|---|
| committer | 2022-09-29 20:52:56 +0000 | |
| commit | e82f0946ca5e32ab9f4f9e1d05eaa393f58ad17e (patch) | |
| tree | d168079602ee0839bbd76757aa9eb622329437ff | |
| parent | f4a02f342f8f406ac645c937c1e250375f509e2e (diff) | |
| parent | 90d6f65f5552e4ac7bdb278c6ce5618bfe1c2f65 (diff) | |
Merge "Get the current hardware sku for the vintf files" am: 90d6f65f55
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2227898
Change-Id: Id720b1ac0a67d2993b7522b6db4f66922ffee6a2
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 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) { |