diff options
author | Hridya Valsaraju <hridya@google.com> | 2018-09-20 01:29:01 +0200 |
---|---|---|
committer | Hridya Valsaraju <hridya@google.com> | 2018-09-20 06:35:47 +0200 |
commit | 7f41a2cc4dccb9af3cdaf23e6c61f90645cbc964 (patch) | |
tree | 68596cb18a08d228352a41f874c228b2ff9d62c9 | |
parent | Merge "minui: Track the name change to minui related properties." (diff) | |
download | android_bootable_recovery-7f41a2cc4dccb9af3cdaf23e6c61f90645cbc964.tar android_bootable_recovery-7f41a2cc4dccb9af3cdaf23e6c61f90645cbc964.tar.gz android_bootable_recovery-7f41a2cc4dccb9af3cdaf23e6c61f90645cbc964.tar.bz2 android_bootable_recovery-7f41a2cc4dccb9af3cdaf23e6c61f90645cbc964.tar.lz android_bootable_recovery-7f41a2cc4dccb9af3cdaf23e6c61f90645cbc964.tar.xz android_bootable_recovery-7f41a2cc4dccb9af3cdaf23e6c61f90645cbc964.tar.zst android_bootable_recovery-7f41a2cc4dccb9af3cdaf23e6c61f90645cbc964.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 c3168fc23..c4e3af207 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; |