summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-06-28 00:57:52 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-06-28 00:57:52 +0200
commitcc849967eef61b835bed7909069495e165fa68da (patch)
tree2da04b28d1b0d97e202419ad6b57692ba1e19e84
parentMerge "Implement updater runtime for dynamic partitions" am: db0a68e6b7 am: 3aaf87cf4e (diff)
parentMerge "recovery_ui: Remove redundant menu creation." am: 0ad3ec03e4 (diff)
downloadandroid_bootable_recovery-cc849967eef61b835bed7909069495e165fa68da.tar
android_bootable_recovery-cc849967eef61b835bed7909069495e165fa68da.tar.gz
android_bootable_recovery-cc849967eef61b835bed7909069495e165fa68da.tar.bz2
android_bootable_recovery-cc849967eef61b835bed7909069495e165fa68da.tar.lz
android_bootable_recovery-cc849967eef61b835bed7909069495e165fa68da.tar.xz
android_bootable_recovery-cc849967eef61b835bed7909069495e165fa68da.tar.zst
android_bootable_recovery-cc849967eef61b835bed7909069495e165fa68da.zip
-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,