diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-09-08 02:47:41 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-09-08 02:47:41 +0000 |
commit | e9997f8152442bd99732efc8c39c1278c61b55a0 (patch) | |
tree | 0529b9ce635cd3b0f69e493898c10e97fd0822bf /fastboot/device/commands.cpp | |
parent | 756e28ee0c40abd33beb9f700345351435d0e88e (diff) | |
parent | bf9f8d1a643b7586af009ec65b1358859e3aea64 (diff) |
Merge "Integrate with fastboot HAL to get partition type"
Diffstat (limited to 'fastboot/device/commands.cpp')
-rw-r--r-- | fastboot/device/commands.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fastboot/device/commands.cpp b/fastboot/device/commands.cpp index 771c28892..0ec09945b 100644 --- a/fastboot/device/commands.cpp +++ b/fastboot/device/commands.cpp @@ -88,6 +88,7 @@ bool GetVarHandler(FastbootDevice* device, const std::vector<std::string>& args) {FB_VAR_SLOT_SUCCESSFUL, {GetSlotSuccessful, nullptr}}, {FB_VAR_SLOT_UNBOOTABLE, {GetSlotUnbootable, nullptr}}, {FB_VAR_PARTITION_SIZE, {GetPartitionSize, GetAllPartitionArgsWithSlot}}, + {FB_VAR_PARTITION_TYPE, {GetPartitionType, GetAllPartitionArgsWithSlot}}, {FB_VAR_IS_LOGICAL, {GetPartitionIsLogical, GetAllPartitionArgsWithSlot}}, {FB_VAR_IS_USERSPACE, {GetIsUserspace, nullptr}}, {FB_VAR_HW_REVISION, {GetHardwareRevision, nullptr}}}; |