summaryrefslogtreecommitdiffstats
path: root/wear_ui.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-03 00:46:11 +0200
committerTao Bao <tbao@google.com>2018-05-03 04:30:15 +0200
commite02a5b248ba0e1364687c20dd5f2ebe1fe9cf638 (patch)
tree6632a3126f03998122d9d1bc68f701d5b9f68e24 /wear_ui.cpp
parentMerge "screen_ui: Use std::string in DrawTextLine() and siblings." (diff)
downloadandroid_bootable_recovery-e02a5b248ba0e1364687c20dd5f2ebe1fe9cf638.tar
android_bootable_recovery-e02a5b248ba0e1364687c20dd5f2ebe1fe9cf638.tar.gz
android_bootable_recovery-e02a5b248ba0e1364687c20dd5f2ebe1fe9cf638.tar.bz2
android_bootable_recovery-e02a5b248ba0e1364687c20dd5f2ebe1fe9cf638.tar.lz
android_bootable_recovery-e02a5b248ba0e1364687c20dd5f2ebe1fe9cf638.tar.xz
android_bootable_recovery-e02a5b248ba0e1364687c20dd5f2ebe1fe9cf638.tar.zst
android_bootable_recovery-e02a5b248ba0e1364687c20dd5f2ebe1fe9cf638.zip
Diffstat (limited to '')
-rw-r--r--wear_ui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/wear_ui.cpp b/wear_ui.cpp
index e4473ba5c..d21f83542 100644
--- a/wear_ui.cpp
+++ b/wear_ui.cpp
@@ -93,8 +93,7 @@ void WearRecoveryUI::StartMenu(const char* const* headers, const char* const* it
pthread_mutex_lock(&updateMutex);
if (text_rows_ > 0 && text_cols_ > 0) {
menu_ = std::make_unique<Menu>(scrollable_menu_, text_rows_ - kMenuUnusableRows - 1,
- text_cols_ - 1);
- menu_->Start(headers, items, initial_selection);
+ text_cols_ - 1, headers, items, initial_selection);
update_screen_locked();
}