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

Commit cd60d87b authored by Pat Erley's avatar Pat Erley
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 46e4090d
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1473,13 +1473,9 @@ main(int argc, char **argv) {
        status = INSTALL_NONE;  // No command specified
        ui->SetBackground(RecoveryUI::NO_COMMAND);

        // http://b/17489952
        // If this is an eng or userdebug build, automatically turn on the
        // text display if no command is specified.
        if (is_ro_debuggable()) {
        // Always show menu if no command is specified
        ui->ShowText(true);
    }
    }

    if (!sideload_auto_reboot && (status == INSTALL_ERROR || status == INSTALL_CORRUPT)) {
        copy_logs();