Merge "Show 'Enter Fastboot' menu item only if device supports fastbootd" am: 9c675b0964
am: 1c0e985407
Change-Id: I9fd716be531f1f3acc558812bf6caa9c918782a9
This commit is contained in:
@@ -425,6 +425,10 @@ int main(int argc, char** argv) {
|
|||||||
device->RemoveMenuItemForAction(Device::WIPE_CACHE);
|
device->RemoveMenuItemForAction(Device::WIPE_CACHE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!android::base::GetBoolProperty("ro.boot.logical_partitions", false)) {
|
||||||
|
device->RemoveMenuItemForAction(Device::ENTER_FASTBOOT);
|
||||||
|
}
|
||||||
|
|
||||||
ui->SetBackground(RecoveryUI::NONE);
|
ui->SetBackground(RecoveryUI::NONE);
|
||||||
if (show_text) ui->ShowText(true);
|
if (show_text) ui->ShowText(true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user