summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-02-21 05:18:05 +0100
committerandroid-build-merger <android-build-merger@google.com>2019-02-21 05:18:05 +0100
commitdbefca86b87dce369c377bec932e7ab0a73455f1 (patch)
treee4b27f45eb173760b939c9261176047da8b0b40a /ui.h
parentDO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master (diff)
parentMerge "Add a logo to the fastbootd screen." (diff)
downloadandroid_bootable_recovery-dbefca86b87dce369c377bec932e7ab0a73455f1.tar
android_bootable_recovery-dbefca86b87dce369c377bec932e7ab0a73455f1.tar.gz
android_bootable_recovery-dbefca86b87dce369c377bec932e7ab0a73455f1.tar.bz2
android_bootable_recovery-dbefca86b87dce369c377bec932e7ab0a73455f1.tar.lz
android_bootable_recovery-dbefca86b87dce369c377bec932e7ab0a73455f1.tar.xz
android_bootable_recovery-dbefca86b87dce369c377bec932e7ab0a73455f1.tar.zst
android_bootable_recovery-dbefca86b87dce369c377bec932e7ab0a73455f1.zip
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui.h b/ui.h
index 4924fec52..b387ae3c9 100644
--- a/ui.h
+++ b/ui.h
@@ -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,