summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHridya Valsaraju <hridya@google.com>2018-09-24 22:27:16 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-09-24 22:27:16 +0200
commitca7bf02d2ee5cc6816fdec2ffacb3d1e5dc4023d (patch)
tree3097d45168b65d735e73f91fc40b7dc740155d9f
parentMerge "Refactor update_verifier into a class" am: ff29eb7f12 am: 4c65ab54c1 (diff)
parentMerge "Enter into userspace fastboot only if the device supports it" am: c2e6f0410c (diff)
downloadandroid_bootable_recovery-ca7bf02d2ee5cc6816fdec2ffacb3d1e5dc4023d.tar
android_bootable_recovery-ca7bf02d2ee5cc6816fdec2ffacb3d1e5dc4023d.tar.gz
android_bootable_recovery-ca7bf02d2ee5cc6816fdec2ffacb3d1e5dc4023d.tar.bz2
android_bootable_recovery-ca7bf02d2ee5cc6816fdec2ffacb3d1e5dc4023d.tar.lz
android_bootable_recovery-ca7bf02d2ee5cc6816fdec2ffacb3d1e5dc4023d.tar.xz
android_bootable_recovery-ca7bf02d2ee5cc6816fdec2ffacb3d1e5dc4023d.tar.zst
android_bootable_recovery-ca7bf02d2ee5cc6816fdec2ffacb3d1e5dc4023d.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;