summaryrefslogtreecommitdiff
path: root/recovery_main.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-01-02 11:35:38 -0800
committerDavid Anderson <dvander@google.com>2019-02-11 19:22:03 -0800
commit983e2d571814ffaf9a88bc6cbc976ff3445d4aae (patch)
treee4b27f45eb173760b939c9261176047da8b0b40a /recovery_main.cpp
parent90edbb17f8a2a82b707303fc3d36b0bcb1e4b05f (diff)
Add a logo to the fastbootd screen.
fastbootd looks too much like recovery, even if you're carefully reading the menu. It's not obvious the device is in a flashing mode, and it's too tempting to reboot or unplug the device in this state. As a first step, this patch adds a big red "fastbootd" logo so it's less obviously in recovery mode. Bug: 120429730 Test: manual test Change-Id: I73359f1fdfdc0b1694993f760fe7f35c5713b24e
Diffstat (limited to 'recovery_main.cpp')
-rw-r--r--recovery_main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp
index 6f508023..7fb46163 100644
--- a/recovery_main.cpp
+++ b/recovery_main.cpp
@@ -458,6 +458,8 @@ int main(int argc, char** argv) {
}
}
+ ui->SetEnableFastbootdLogo(fastboot);
+
auto ret = fastboot ? StartFastboot(device, args) : start_recovery(device, args);
if (ret == Device::KEY_INTERRUPTED) {