summaryrefslogtreecommitdiffstats
path: root/fastboot/device/commands.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-09-28 20:15:46 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-09-28 20:15:46 +0000
commit007e52efe002c3864255bf114be2fb9854d3811d (patch)
tree7447316ae8e5db1d24400243374e4b85392ebc8d /fastboot/device/commands.cpp
parentbd9751a387d4b587bd284f2661245504f2a92f26 (diff)
parent4af80901a66ea6b3f62d0b21bb96026ba602eb25 (diff)
downloadsystem_core-007e52efe002c3864255bf114be2fb9854d3811d.tar.gz
system_core-007e52efe002c3864255bf114be2fb9854d3811d.tar.bz2
system_core-007e52efe002c3864255bf114be2fb9854d3811d.zip
Merge "Support fastboot variable 'variant'."
Diffstat (limited to 'fastboot/device/commands.cpp')
-rw-r--r--fastboot/device/commands.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/fastboot/device/commands.cpp b/fastboot/device/commands.cpp
index b7cafac4a..e70de1b6d 100644
--- a/fastboot/device/commands.cpp
+++ b/fastboot/device/commands.cpp
@@ -82,6 +82,7 @@ bool GetVarHandler(FastbootDevice* device, const std::vector<std::string>& args)
{FB_VAR_VERSION_BASEBAND, {GetBasebandVersion, nullptr}},
{FB_VAR_PRODUCT, {GetProduct, nullptr}},
{FB_VAR_SERIALNO, {GetSerial, nullptr}},
+ {FB_VAR_VARIANT, {GetVariant, nullptr}},
{FB_VAR_SECURE, {GetSecure, nullptr}},
{FB_VAR_UNLOCKED, {GetUnlocked, nullptr}},
{FB_VAR_MAX_DOWNLOAD_SIZE, {GetMaxDownloadSize, nullptr}},