summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-09-25 05:08:54 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-09-25 05:08:54 +0200
commit6cfb9e6d9ec5d911cd175b331c812d42c93b4fe4 (patch)
tree3097d45168b65d735e73f91fc40b7dc740155d9f
parentSnap for 5025290 from ae61f262e1693ccf6f1c393d5a10dcdb93b0ab37 to qt-release (diff)
parentMerge "Enter into userspace fastboot only if the device supports it" am: c2e6f0410c am: 4e30d0d687 (diff)
downloadandroid_bootable_recovery-6cfb9e6d9ec5d911cd175b331c812d42c93b4fe4.tar
android_bootable_recovery-6cfb9e6d9ec5d911cd175b331c812d42c93b4fe4.tar.gz
android_bootable_recovery-6cfb9e6d9ec5d911cd175b331c812d42c93b4fe4.tar.bz2
android_bootable_recovery-6cfb9e6d9ec5d911cd175b331c812d42c93b4fe4.tar.lz
android_bootable_recovery-6cfb9e6d9ec5d911cd175b331c812d42c93b4fe4.tar.xz
android_bootable_recovery-6cfb9e6d9ec5d911cd175b331c812d42c93b4fe4.tar.zst
android_bootable_recovery-6cfb9e6d9ec5d911cd175b331c812d42c93b4fe4.zip
-rw-r--r--recovery_main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp
index 29a5865a2..78350944c 100644
--- a/recovery_main.cpp
+++ b/recovery_main.cpp
@@ -364,7 +364,8 @@ int main(int argc, char** argv) {
std::string option = OPTIONS[option_index].name;
if (option == "locale") {
locale = optarg;
- } else if (option == "fastboot") {
+ } else if (option == "fastboot" &&
+ android::base::GetBoolProperty("ro.boot.logical_partitions", false)) {
fastboot = true;
}
break;