summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHridya Valsaraju <hridya@google.com>2018-09-20 01:29:01 +0200
committerHridya Valsaraju <hridya@google.com>2018-09-20 06:35:47 +0200
commit7f41a2cc4dccb9af3cdaf23e6c61f90645cbc964 (patch)
tree68596cb18a08d228352a41f874c228b2ff9d62c9
parentMerge "minui: Track the name change to minui related properties." (diff)
downloadandroid_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
Diffstat (limited to '')
-rw-r--r--recovery_main.cpp3
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;