summaryrefslogtreecommitdiffstats
path: root/wear_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-04 01:27:28 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-04 01:27:28 +0200
commit3777c4b8597f4a6fc46e57305d7aa33040c3b7bf (patch)
treeed48a00a97ba96e5388d1b3420ac425b81b35217 /wear_ui.h
parentMerge "updater_sample: update tests" am: 219445a320 (diff)
parentMerge "Move menu headers/items to std::vector<std::string>." (diff)
downloadandroid_bootable_recovery-3777c4b8597f4a6fc46e57305d7aa33040c3b7bf.tar
android_bootable_recovery-3777c4b8597f4a6fc46e57305d7aa33040c3b7bf.tar.gz
android_bootable_recovery-3777c4b8597f4a6fc46e57305d7aa33040c3b7bf.tar.bz2
android_bootable_recovery-3777c4b8597f4a6fc46e57305d7aa33040c3b7bf.tar.lz
android_bootable_recovery-3777c4b8597f4a6fc46e57305d7aa33040c3b7bf.tar.xz
android_bootable_recovery-3777c4b8597f4a6fc46e57305d7aa33040c3b7bf.tar.zst
android_bootable_recovery-3777c4b8597f4a6fc46e57305d7aa33040c3b7bf.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;