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

Commit f8f88321 authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

Merge "Turn on text display for debuggable builds"

parents 59e1e3e7 785d22c8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1086,6 +1086,13 @@ main(int argc, char **argv) {
    } else if (!just_exit) {
        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()) {
            ui->ShowText(true);
        }
    }

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