summaryrefslogtreecommitdiff
path: root/fastboot/device/variables.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-08-09 23:17:16 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-09 23:17:16 +0000
commit6d5b9314669853b5f63cbdf40aa37c70c305407c (patch)
treedfe53cc336dba0b7874e04ba5458a5b664be65d2 /fastboot/device/variables.cpp
parent770395dee1e3fd632f0cbb71a24f2648d4d50f1b (diff)
parentd9ba061e772e9f3aae0913e1e8644251608304da (diff)
Merge "fastbootd: Add is-userspace variable."
Diffstat (limited to 'fastboot/device/variables.cpp')
-rw-r--r--fastboot/device/variables.cpp4
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");
+}