From 4af80901a66ea6b3f62d0b21bb96026ba602eb25 Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju Date: Wed, 26 Sep 2018 13:08:16 -0700 Subject: Support fastboot variable 'variant'. Bug: 79480454 Bug: 78793464 Test: fastboot getvar variant Change-Id: Iefef82c147d8405318c793ad0a73f00674bbb63d Merged-In: Iefef82c147d8405318c793ad0a73f00674bbb63d (cherry picked from commit 4785287a0043ddea2f784433d8a4fc8a168efc79) --- fastboot/device/commands.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'fastboot/device/commands.cpp') 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& 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}}, -- cgit v1.2.3