diff options
author | David Anderson <dvander@google.com> | 2019-01-02 11:35:38 -0800 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-02-11 19:22:03 -0800 |
commit | 983e2d571814ffaf9a88bc6cbc976ff3445d4aae (patch) | |
tree | e4b27f45eb173760b939c9261176047da8b0b40a /ui.cpp | |
parent | 90edbb17f8a2a82b707303fc3d36b0bcb1e4b05f (diff) | |
download | android_bootable_recovery-983e2d571814ffaf9a88bc6cbc976ff3445d4aae.tar.gz android_bootable_recovery-983e2d571814ffaf9a88bc6cbc976ff3445d4aae.tar.bz2 android_bootable_recovery-983e2d571814ffaf9a88bc6cbc976ff3445d4aae.zip |
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 'ui.cpp')
-rw-r--r-- | ui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -59,6 +59,7 @@ RecoveryUI::RecoveryUI() brightness_file_(BRIGHTNESS_FILE), max_brightness_file_(MAX_BRIGHTNESS_FILE), touch_screen_allowed_(false), + fastbootd_logo_enabled_(false), touch_low_threshold_(android::base::GetIntProperty("ro.recovery.ui.touch_low_threshold", kDefaultTouchLowThreshold)), touch_high_threshold_(android::base::GetIntProperty("ro.recovery.ui.touch_high_threshold", |