summaryrefslogtreecommitdiffstats
path: root/recovery_ui/include
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-07-23 22:23:29 +0200
committerTianjie Xu <xunchang@google.com>2019-07-25 22:22:03 +0200
commite5032219fe909864233e8225ee4fabd10c49ed5b (patch)
treedd7a4f206bbdc013c7d86b62a2a00bd377032f7b /recovery_ui/include
parentMerge "Add command line parser for simulator" (diff)
downloadandroid_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar.gz
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar.bz2
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar.lz
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar.xz
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.tar.zst
android_bootable_recovery-e5032219fe909864233e8225ee4fabd10c49ed5b.zip
Diffstat (limited to 'recovery_ui/include')
-rw-r--r--recovery_ui/include/recovery_ui/screen_ui.h3
-rw-r--r--recovery_ui/include/recovery_ui/ui.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/recovery_ui/include/recovery_ui/screen_ui.h b/recovery_ui/include/recovery_ui/screen_ui.h
index 5cda2a2e5..92b3c2546 100644
--- a/recovery_ui/include/recovery_ui/screen_ui.h
+++ b/recovery_ui/include/recovery_ui/screen_ui.h
@@ -286,6 +286,9 @@ class ScreenRecoveryUI : public RecoveryUI, public DrawInterface {
// selected.
virtual int SelectMenu(int sel);
+ // Returns the help message displayed on top of the menu.
+ virtual std::vector<std::string> GetMenuHelpMessage() const;
+
virtual void draw_background_locked();
virtual void draw_foreground_locked();
virtual void draw_screen_locked();
diff --git a/recovery_ui/include/recovery_ui/ui.h b/recovery_ui/include/recovery_ui/ui.h
index a95f935e4..08ec1d76a 100644
--- a/recovery_ui/include/recovery_ui/ui.h
+++ b/recovery_ui/include/recovery_ui/ui.h
@@ -118,7 +118,7 @@ class RecoveryUI {
// Returns true if you have the volume up/down and power trio typical of phones and tablets, false
// otherwise.
- virtual bool HasThreeButtons();
+ virtual bool HasThreeButtons() const;
// Returns true if it has a power key.
virtual bool HasPowerKey() const;