Merge "Enter into userspace fastboot only if the device supports it"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user