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