summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-06-28 01:18:16 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-06-28 01:18:16 +0200
commit3eda932237a5c8cced60a7129db12722174130e9 (patch)
tree5c627babd9c4a49ab578ebd2cf5cb2297a380b93
parentMerge "Implement updater runtime for dynamic partitions" am: db0a68e6b7 am: 3aaf87cf4e am: a2a500381a (diff)
parentMerge "recovery_ui: Remove redundant menu creation." am: 0ad3ec03e4 am: 9b57172706 (diff)
downloadandroid_bootable_recovery-3eda932237a5c8cced60a7129db12722174130e9.tar
android_bootable_recovery-3eda932237a5c8cced60a7129db12722174130e9.tar.gz
android_bootable_recovery-3eda932237a5c8cced60a7129db12722174130e9.tar.bz2
android_bootable_recovery-3eda932237a5c8cced60a7129db12722174130e9.tar.lz
android_bootable_recovery-3eda932237a5c8cced60a7129db12722174130e9.tar.xz
android_bootable_recovery-3eda932237a5c8cced60a7129db12722174130e9.tar.zst
android_bootable_recovery-3eda932237a5c8cced60a7129db12722174130e9.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,