am e9ce252c: am 0a7b9276: am f8f88321: Merge "Turn on text display for debuggable builds"

* commit 'e9ce252cf0f7b996a2e1977d30928b0812e371ba':
  Turn on text display for debuggable builds
This commit is contained in:
Tao Bao
2015-05-04 17:37:14 +00:00
committed by Android Git Automerger
+7
View File
@@ -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)) {