summaryrefslogtreecommitdiff
path: root/recovery_main.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-11-16 23:35:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-11-16 23:35:28 +0000
commitb22bd959e5721f2ccde59e63e842e0cb7a3336fb (patch)
tree23d2558804bca7a3d79eedf192f2fabe55b9b16f /recovery_main.cpp
parent814c3061067841990272704af135750f4007cbde (diff)
parentd17174c3e59a2d7b0dcad48ac7a3a8b76f38285d (diff)
Merge "logical -> dynamic partitions."
Diffstat (limited to 'recovery_main.cpp')
-rw-r--r--recovery_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp
index 19ef4f3d..6f508023 100644
--- a/recovery_main.cpp
+++ b/recovery_main.cpp
@@ -365,7 +365,7 @@ int main(int argc, char** argv) {
if (option == "locale") {
locale = optarg;
} else if (option == "fastboot" &&
- android::base::GetBoolProperty("ro.boot.logical_partitions", false)) {
+ android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) {
fastboot = true;
}
break;
@@ -426,7 +426,7 @@ int main(int argc, char** argv) {
device->RemoveMenuItemForAction(Device::WIPE_CACHE);
}
- if (!android::base::GetBoolProperty("ro.boot.logical_partitions", false)) {
+ if (!android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) {
device->RemoveMenuItemForAction(Device::ENTER_FASTBOOT);
}