summaryrefslogtreecommitdiffstats
path: root/wear_ui.cpp
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2018-05-03 06:54:24 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-05-03 06:54:24 +0200
commit0cabcd01264980b60c052e396f6682683d01436e (patch)
tree0634b48818a9f9cf1ca05019dc440d5c88258864 /wear_ui.cpp
parentMerge "updater_sample: Add streaming to PayloadSpec" (diff)
parentscreen_ui: Merge Menu::Start() into its ctor. (diff)
downloadandroid_bootable_recovery-0cabcd01264980b60c052e396f6682683d01436e.tar
android_bootable_recovery-0cabcd01264980b60c052e396f6682683d01436e.tar.gz
android_bootable_recovery-0cabcd01264980b60c052e396f6682683d01436e.tar.bz2
android_bootable_recovery-0cabcd01264980b60c052e396f6682683d01436e.tar.lz
android_bootable_recovery-0cabcd01264980b60c052e396f6682683d01436e.tar.xz
android_bootable_recovery-0cabcd01264980b60c052e396f6682683d01436e.tar.zst
android_bootable_recovery-0cabcd01264980b60c052e396f6682683d01436e.zip
Diffstat (limited to 'wear_ui.cpp')
-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();
}