diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-08-09 23:17:16 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-08-09 23:17:16 +0000 |
commit | 6d5b9314669853b5f63cbdf40aa37c70c305407c (patch) | |
tree | dfe53cc336dba0b7874e04ba5458a5b664be65d2 /fastboot/device/variables.cpp | |
parent | 770395dee1e3fd632f0cbb71a24f2648d4d50f1b (diff) | |
parent | d9ba061e772e9f3aae0913e1e8644251608304da (diff) |
Merge "fastbootd: Add is-userspace variable."
Diffstat (limited to 'fastboot/device/variables.cpp')
-rw-r--r-- | fastboot/device/variables.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fastboot/device/variables.cpp b/fastboot/device/variables.cpp index 70e4bcc4c..a5dead212 100644 --- a/fastboot/device/variables.cpp +++ b/fastboot/device/variables.cpp @@ -165,3 +165,7 @@ bool GetPartitionIsLogical(FastbootDevice* device, const std::vector<std::string } return device->WriteFail("Partition not found"); } + +bool GetIsUserspace(FastbootDevice* device, const std::vector<std::string>& /* args */) { + return device->WriteOkay("yes"); +} |