Merge "Enter into userspace fastboot only if the device supports it"
am: c2e6f0410c
Change-Id: I503f02ce45b582018672e84e04311ec2bac88c82
This commit is contained in:
+2
-1
@@ -364,7 +364,8 @@ int main(int argc, char** argv) {
|
|||||||
std::string option = OPTIONS[option_index].name;
|
std::string option = OPTIONS[option_index].name;
|
||||||
if (option == "locale") {
|
if (option == "locale") {
|
||||||
locale = optarg;
|
locale = optarg;
|
||||||
} else if (option == "fastboot") {
|
} else if (option == "fastboot" &&
|
||||||
|
android::base::GetBoolProperty("ro.boot.logical_partitions", false)) {
|
||||||
fastboot = true;
|
fastboot = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user