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

am: 4e30d0d687

Change-Id: Ibc7f6627e6f4dc246158bd7d9c44e26af4243334
This commit is contained in:
Hridya Valsaraju
2018-09-24 13:15:06 -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;