Merge "Fix removal of fastbootd logo for wear" into main am: 6de5720bf7

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2823470

Change-Id: If38b9bbb823a72c8c689b39ac102cb169460ff29
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ben Fennema 2023-11-09 02:41:20 +00:00 committed by Automerger Merge Worker
commit 6882863878
3 changed files with 1 additions and 3 deletions

View file

@ -70,6 +70,7 @@ Device::BuiltinAction StartFastboot(Device* device, const std::vector<std::strin
if (ui->IsWearable()) {
FillWearableFastbootLines(title_lines);
} else {
ui->SetEnableFastbootdLogo(true);
FillDefaultFastbootLines(title_lines);
}

View file

@ -485,8 +485,6 @@ int main(int argc, char** argv) {
}
}
ui->SetEnableFastbootdLogo(fastboot);
auto ret = fastboot ? StartFastboot(device, args) : start_recovery(device, args);
if (ret == Device::KEY_INTERRUPTED) {

View file

@ -42,7 +42,6 @@ WearRecoveryUI::WearRecoveryUI()
kDefaultIsScreenCircle)) {
// TODO: menu_unusable_rows_ should be computed based on the lines in draw_screen_locked().
touch_screen_allowed_ = true;
SetEnableFastbootdLogo(false); // logo not required on Wear
}
// Draw background frame on the screen. Does not flip pages.