summaryrefslogtreecommitdiffstats
path: root/wear_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-04 01:13:09 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-05-04 01:13:09 +0200
commitfb86bb2a074cdec6d82e1df7304f1c41309ec220 (patch)
treee4a6d12bc2aca2b7b5cffbe213780ca894e31306 /wear_ui.h
parentMerge "updater_sample: update tests" (diff)
parentMove menu headers/items to std::vector<std::string>. (diff)
downloadandroid_bootable_recovery-fb86bb2a074cdec6d82e1df7304f1c41309ec220.tar
android_bootable_recovery-fb86bb2a074cdec6d82e1df7304f1c41309ec220.tar.gz
android_bootable_recovery-fb86bb2a074cdec6d82e1df7304f1c41309ec220.tar.bz2
android_bootable_recovery-fb86bb2a074cdec6d82e1df7304f1c41309ec220.tar.lz
android_bootable_recovery-fb86bb2a074cdec6d82e1df7304f1c41309ec220.tar.xz
android_bootable_recovery-fb86bb2a074cdec6d82e1df7304f1c41309ec220.tar.zst
android_bootable_recovery-fb86bb2a074cdec6d82e1df7304f1c41309ec220.zip
Diffstat (limited to 'wear_ui.h')
-rw-r--r--wear_ui.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/wear_ui.h b/wear_ui.h
index fcbbee289..c9a9f0e13 100644
--- a/wear_ui.h
+++ b/wear_ui.h
@@ -17,6 +17,9 @@
#ifndef RECOVERY_WEAR_UI_H
#define RECOVERY_WEAR_UI_H
+#include <string>
+#include <vector>
+
#include "screen_ui.h"
class WearRecoveryUI : public ScreenRecoveryUI {
@@ -33,8 +36,8 @@ class WearRecoveryUI : public ScreenRecoveryUI {
// Recovery, build id and etc) and the bottom lines that may otherwise go out of the screen.
const int kMenuUnusableRows;
- void StartMenu(const char* const* headers, const char* const* items,
- int initial_selection) override;
+ void StartMenu(const std::vector<std::string>& headers, const std::vector<std::string>& items,
+ size_t initial_selection) override;
int GetProgressBaseline() const override;