recovery_ui: Remove redundant menu creation.
Test: Boot into recovery and "Run graphics test". Change-Id: Icbf1c230b4af57cf32b3c7a4b30ddbabc21d5618
This commit is contained in:
parent
db0a68e6b7
commit
fa8e02af7c
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue