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

Commit 741e014c authored by Pat Erley's avatar Pat Erley Committed by Michael Bestas
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 4e7db2cd
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -1870,12 +1870,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);
  }