diff options
author | Hridya Valsaraju <hridya@google.com> | 2018-09-24 22:15:06 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-09-24 22:15:06 +0200 |
commit | ff47ab3ca4c0838dbc136273d84c2dc2c1be256a (patch) | |
tree | 3097d45168b65d735e73f91fc40b7dc740155d9f | |
parent | Merge "Refactor update_verifier into a class" am: ff29eb7f12 (diff) | |
parent | Merge "Enter into userspace fastboot only if the device supports it" (diff) | |
download | android_bootable_recovery-ff47ab3ca4c0838dbc136273d84c2dc2c1be256a.tar android_bootable_recovery-ff47ab3ca4c0838dbc136273d84c2dc2c1be256a.tar.gz android_bootable_recovery-ff47ab3ca4c0838dbc136273d84c2dc2c1be256a.tar.bz2 android_bootable_recovery-ff47ab3ca4c0838dbc136273d84c2dc2c1be256a.tar.lz android_bootable_recovery-ff47ab3ca4c0838dbc136273d84c2dc2c1be256a.tar.xz android_bootable_recovery-ff47ab3ca4c0838dbc136273d84c2dc2c1be256a.tar.zst android_bootable_recovery-ff47ab3ca4c0838dbc136273d84c2dc2c1be256a.zip |
-rw-r--r-- | recovery_main.cpp | 3 |
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; |