summaryrefslogtreecommitdiffstats
path: root/wear_ui.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-10-23 20:16:23 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-10-23 20:16:23 +0200
commit06ccd00ef5bfa36f8f0d508df77f747aa099eabf (patch)
treee68e20918057d4c1f88189edb49bcabad066535c /wear_ui.h
parentMerge "minui: Move GRSurface into a class." (diff)
parentAdd function to show localized rescue party menu (diff)
downloadandroid_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar
android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar.gz
android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar.bz2
android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar.lz
android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar.xz
android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.tar.zst
android_bootable_recovery-06ccd00ef5bfa36f8f0d508df77f747aa099eabf.zip
Diffstat (limited to '')
-rw-r--r--wear_ui.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/wear_ui.h b/wear_ui.h
index b80cfd758..429af69d2 100644
--- a/wear_ui.h
+++ b/wear_ui.h
@@ -36,8 +36,9 @@ class WearRecoveryUI : public ScreenRecoveryUI {
// Recovery, build id and etc) and the bottom lines that may otherwise go out of the screen.
const int menu_unusable_rows_;
- void StartMenu(const std::vector<std::string>& headers, const std::vector<std::string>& items,
- size_t initial_selection) override;
+ std::unique_ptr<Menu> CreateMenu(const std::vector<std::string>& text_headers,
+ const std::vector<std::string>& text_items,
+ size_t initial_selection) const override;
int GetProgressBaseline() const override;