diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2019-06-27 23:46:14 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-06-27 23:46:14 +0200 |
commit | 0ad3ec03e4d46a57fb214a38a727d0ffaaa58989 (patch) | |
tree | 5e4986c0b7a699785f2e3add76998c006a375ec8 | |
parent | Merge "Implement updater runtime for dynamic partitions" (diff) | |
parent | recovery_ui: Remove redundant menu creation. (diff) | |
download | android_bootable_recovery-0ad3ec03e4d46a57fb214a38a727d0ffaaa58989.tar android_bootable_recovery-0ad3ec03e4d46a57fb214a38a727d0ffaaa58989.tar.gz android_bootable_recovery-0ad3ec03e4d46a57fb214a38a727d0ffaaa58989.tar.bz2 android_bootable_recovery-0ad3ec03e4d46a57fb214a38a727d0ffaaa58989.tar.lz android_bootable_recovery-0ad3ec03e4d46a57fb214a38a727d0ffaaa58989.tar.xz android_bootable_recovery-0ad3ec03e4d46a57fb214a38a727d0ffaaa58989.tar.zst android_bootable_recovery-0ad3ec03e4d46a57fb214a38a727d0ffaaa58989.zip |
Diffstat (limited to '')
-rw-r--r-- | recovery_ui/screen_ui.cpp | 2 |
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, |