Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0965dbe2 authored by Pat Erley's avatar Pat Erley Committed by Tom Marshall
Browse files

recovery: Enable the menu for User builds

Upstream recovery doesn't provide a menu for non ENG/UserDebug
builds.

OPO-321
Change-Id: I01b285a40287be4147d15a70b91ad17a3c93da68
parent 22a0a994
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -1789,12 +1789,10 @@ int main(int argc, char **argv) {
            ui->Print("Rebooting automatically.\n");
        }
    } 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 (is_ro_debuggable()) {
      ui->ShowText(true);
      }
      status = INSTALL_NONE;  // No command specified
      ui->SetBackground(RecoveryUI::NO_COMMAND);
    }