summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-09-10 09:28:56 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-09-10 09:28:56 +0200
commit739b576006baf57cb09e56636648e550bfa4378e (patch)
tree567e0908c310f7b8e3e75ea18a9250445807f525 /screen_ui.h
parentrelease-request-81b48854-d0e0-49af-bcf2-857273cbb8dc-for-git_oc-mr1-release-4306444 snap-temp-L17300000097872583 (diff)
parentui: Manage menu_ with std::vector. (diff)
downloadandroid_bootable_recovery-739b576006baf57cb09e56636648e550bfa4378e.tar
android_bootable_recovery-739b576006baf57cb09e56636648e550bfa4378e.tar.gz
android_bootable_recovery-739b576006baf57cb09e56636648e550bfa4378e.tar.bz2
android_bootable_recovery-739b576006baf57cb09e56636648e550bfa4378e.tar.lz
android_bootable_recovery-739b576006baf57cb09e56636648e550bfa4378e.tar.xz
android_bootable_recovery-739b576006baf57cb09e56636648e550bfa4378e.tar.zst
android_bootable_recovery-739b576006baf57cb09e56636648e550bfa4378e.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 62dda7558..8231a2ba0 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <string>
+#include <vector>
#include "ui.h"
@@ -127,7 +128,7 @@ class ScreenRecoveryUI : public RecoveryUI {
bool show_text;
bool show_text_ever; // has show_text ever been true?
- char** menu_;
+ std::vector<std::string> menu_;
const char* const* menu_headers_;
bool show_menu;
int menu_items, menu_sel;