From 08fbf88ab693bb3735ed0b7f5604d2f66cf9992d Mon Sep 17 00:00:00 2001 From: Pat Erley Date: Tue, 5 Jan 2016 16:50:02 -0800 Subject: [PATCH] recovery: Enable the menu for User builds Upstream recovery doesn't provide a menu for non ENG/UserDebug builds. OPO-321 Change-Id: I01b285a40287be4147d15a70b91ad17a3c93da68 --- recovery.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/recovery.cpp b/recovery.cpp index 1538744e..abd287e1 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -847,12 +847,10 @@ Device::BuiltinAction start_recovery(Device* device, const std::vectorPrint("\nInstall from ADB complete (status: %d).\n", status); } else if (!just_exit) { - // If this is an eng or userdebug build, automatically turn on the text display if no command - // is specified. Note that this should be called before setting the background to avoid + // Always show menu if no command is specified. + // Note that this should be called before setting the background to avoid // flickering the background image. - if (IsRoDebuggable()) { - ui->ShowText(true); - } + ui->ShowText(true); status = INSTALL_NONE; // No command specified ui->SetBackground(RecoveryUI::NO_COMMAND); }