summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2018-11-17 01:10:55 +0100
committerandroid-build-merger <android-build-merger@google.com>2018-11-17 01:10:55 +0100
commit1f60a0c45676c2b5f1ca642e155625412c1a4a67 (patch)
tree23d2558804bca7a3d79eedf192f2fabe55b9b16f
parentMerge "switch to using android-base/file.h instead of android-base/test_utils.h" am: 814c306106 (diff)
parentMerge "logical -> dynamic partitions." (diff)
downloadandroid_bootable_recovery-1f60a0c45676c2b5f1ca642e155625412c1a4a67.tar
android_bootable_recovery-1f60a0c45676c2b5f1ca642e155625412c1a4a67.tar.gz
android_bootable_recovery-1f60a0c45676c2b5f1ca642e155625412c1a4a67.tar.bz2
android_bootable_recovery-1f60a0c45676c2b5f1ca642e155625412c1a4a67.tar.lz
android_bootable_recovery-1f60a0c45676c2b5f1ca642e155625412c1a4a67.tar.xz
android_bootable_recovery-1f60a0c45676c2b5f1ca642e155625412c1a4a67.tar.zst
android_bootable_recovery-1f60a0c45676c2b5f1ca642e155625412c1a4a67.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 19ef4f3d0..6f5080238 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);
}