diff options
author | David Anderson <dvander@google.com> | 2019-01-02 20:35:38 +0100 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-02-12 04:22:03 +0100 |
commit | 983e2d571814ffaf9a88bc6cbc976ff3445d4aae (patch) | |
tree | e4b27f45eb173760b939c9261176047da8b0b40a /ui.h | |
parent | Merge "Defer marking boot successful when checkpointing" (diff) | |
download | android_bootable_recovery-983e2d571814ffaf9a88bc6cbc976ff3445d4aae.tar android_bootable_recovery-983e2d571814ffaf9a88bc6cbc976ff3445d4aae.tar.gz android_bootable_recovery-983e2d571814ffaf9a88bc6cbc976ff3445d4aae.tar.bz2 android_bootable_recovery-983e2d571814ffaf9a88bc6cbc976ff3445d4aae.tar.lz android_bootable_recovery-983e2d571814ffaf9a88bc6cbc976ff3445d4aae.tar.xz android_bootable_recovery-983e2d571814ffaf9a88bc6cbc976ff3445d4aae.tar.zst android_bootable_recovery-983e2d571814ffaf9a88bc6cbc976ff3445d4aae.zip |
Diffstat (limited to '')
-rw-r--r-- | ui.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -168,7 +168,6 @@ class RecoveryUI { virtual size_t ShowPromptWipeDataMenu(const std::vector<std::string>& backup_headers, const std::vector<std::string>& backup_items, const std::function<int(int, bool)>& key_handler) = 0; - // Displays the localized wipe data confirmation menu with pre-generated images. Falls back to // the text strings upon failures. The initial selection is the 0th item, which returns to the // upper level menu. @@ -176,6 +175,11 @@ class RecoveryUI { const std::vector<std::string>& backup_headers, const std::vector<std::string>& backup_items, const std::function<int(int, bool)>& key_handler) = 0; + // Set whether or not the fastbootd logo is displayed. + void SetEnableFastbootdLogo(bool enable) { + fastbootd_logo_enabled_ = enable; + } + // Resets the key interrupt status. void ResetKeyInterruptStatus() { key_interrupted_ = false; @@ -200,6 +204,8 @@ class RecoveryUI { // Whether we should listen for touch inputs (default: false). bool touch_screen_allowed_; + bool fastbootd_logo_enabled_; + private: enum class ScreensaverState { DISABLED, |