summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-06-28 00:38:36 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-06-28 00:38:36 +0200
commit18de138abdf32502515abbee80f2e0ff097f6e11 (patch)
tree2da04b28d1b0d97e202419ad6b57692ba1e19e84
parentMerge "Implement updater runtime for dynamic partitions" am: db0a68e6b7 (diff)
parentMerge "recovery_ui: Remove redundant menu creation." (diff)
downloadandroid_bootable_recovery-18de138abdf32502515abbee80f2e0ff097f6e11.tar
android_bootable_recovery-18de138abdf32502515abbee80f2e0ff097f6e11.tar.gz
android_bootable_recovery-18de138abdf32502515abbee80f2e0ff097f6e11.tar.bz2
android_bootable_recovery-18de138abdf32502515abbee80f2e0ff097f6e11.tar.lz
android_bootable_recovery-18de138abdf32502515abbee80f2e0ff097f6e11.tar.xz
android_bootable_recovery-18de138abdf32502515abbee80f2e0ff097f6e11.tar.zst
android_bootable_recovery-18de138abdf32502515abbee80f2e0ff097f6e11.zip
Diffstat (limited to '')
-rw-r--r--recovery_ui/screen_ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery_ui/screen_ui.cpp b/recovery_ui/screen_ui.cpp
index 823004521..f2af66c45 100644
--- a/recovery_ui/screen_ui.cpp
+++ b/recovery_ui/screen_ui.cpp
@@ -1263,7 +1263,7 @@ size_t ScreenRecoveryUI::ShowMenu(const std::vector<std::string>& headers,
return initial_selection;
}
- return ShowMenu(CreateMenu(headers, items, initial_selection), menu_only, key_handler);
+ return ShowMenu(std::move(menu), menu_only, key_handler);
}
size_t ScreenRecoveryUI::ShowPromptWipeDataMenu(const std::vector<std::string>& backup_headers,