Snap for 5027604 from ca7bf02d2ee5cc6816fdec2ffacb3d1e5dc4023d to qt-release
Change-Id: I5cad2a3f624b45930ab07952f52f9872fa32eac5
diff --git a/recovery_main.cpp b/recovery_main.cpp
index 29a5865..7835094 100644
--- a/recovery_main.cpp
+++ b/recovery_main.cpp
@@ -364,7 +364,8 @@
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;