Merge "logical -> dynamic partitions."

This commit is contained in:
Treehugger Robot 2018-11-16 23:35:28 +00:00 committed by Gerrit Code Review
commit b22bd959e5

View file

@ -365,7 +365,7 @@ int main(int argc, char** argv) {
if (option == "locale") {
locale = optarg;
} else if (option == "fastboot" &&
android::base::GetBoolProperty("ro.boot.logical_partitions", false)) {
android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) {
fastboot = true;
}
break;
@ -426,7 +426,7 @@ int main(int argc, char** argv) {
device->RemoveMenuItemForAction(Device::WIPE_CACHE);
}
if (!android::base::GetBoolProperty("ro.boot.logical_partitions", false)) {
if (!android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) {
device->RemoveMenuItemForAction(Device::ENTER_FASTBOOT);
}