Merge "Enter into userspace fastboot only if the device supports it" am: c2e6f0410c am: 4e30d0d687
am: ff47ab3ca4

Change-Id: Iacd90f207fcfeb6c7d47412cf41a7cdaf6507772
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;