summaryrefslogtreecommitdiff
path: root/fastboot/device/variables.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-11-14 04:51:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-11-14 04:51:37 +0000
commitafce590601ed5fb6dcc4a55ba899a972e168eeaa (patch)
treefb0f53b25fbc037218ac1c2f5f0032b8faa06532 /fastboot/device/variables.cpp
parente40d2b1a843f595c4d155a3274d5d047b27d4bc5 (diff)
parent33da5c9493c1ecd8a9930f7780ff589d129bfe65 (diff)
Merge "fastbootd: exporting CPU ABI info"
Diffstat (limited to 'fastboot/device/variables.cpp')
-rw-r--r--fastboot/device/variables.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/fastboot/device/variables.cpp b/fastboot/device/variables.cpp
index 6e613d647..717db064f 100644
--- a/fastboot/device/variables.cpp
+++ b/fastboot/device/variables.cpp
@@ -458,3 +458,9 @@ bool GetSnapshotUpdateStatus(FastbootDevice* device, const std::vector<std::stri
}
return true;
}
+
+bool GetCpuAbi(FastbootDevice* /* device */, const std::vector<std::string>& /* args */,
+ std::string* message) {
+ *message = android::base::GetProperty("ro.product.cpu.abi", "");
+ return true;
+}