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

am: ff47ab3ca4

Change-Id: Iacd90f207fcfeb6c7d47412cf41a7cdaf6507772
This commit is contained in:
Hridya Valsaraju
2018-09-24 13:27:16 -07:00
committed by android-build-merger
+2 -1
View File
@@ -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;