summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2018-11-16 21:49:33 +0100
committerYifan Hong <elsk@google.com>2018-11-16 21:56:44 +0100
commitd17174c3e59a2d7b0dcad48ac7a3a8b76f38285d (patch)
treef958e2b278e02781a85d4baab586e9324435ae32
parentMerge "ui: Add constness to Draw- functions." (diff)
downloadandroid_bootable_recovery-d17174c3e59a2d7b0dcad48ac7a3a8b76f38285d.tar
android_bootable_recovery-d17174c3e59a2d7b0dcad48ac7a3a8b76f38285d.tar.gz
android_bootable_recovery-d17174c3e59a2d7b0dcad48ac7a3a8b76f38285d.tar.bz2
android_bootable_recovery-d17174c3e59a2d7b0dcad48ac7a3a8b76f38285d.tar.lz
android_bootable_recovery-d17174c3e59a2d7b0dcad48ac7a3a8b76f38285d.tar.xz
android_bootable_recovery-d17174c3e59a2d7b0dcad48ac7a3a8b76f38285d.tar.zst
android_bootable_recovery-d17174c3e59a2d7b0dcad48ac7a3a8b76f38285d.zip
-rw-r--r--recovery_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp
index 78350944c..a95299ea7 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);
}