diff options
author | Tao Bao <tbao@google.com> | 2015-05-04 19:37:14 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-05-04 19:37:14 +0200 |
commit | 0f2d721d80a4ef828b80d315492a2d7435b45b61 (patch) | |
tree | cfde9b5ebc9da956e956e417caecc444c2512a8c /recovery.cpp | |
parent | am 759febda: am 4cf34d5d: Fix mips64 minadbd_test build. (diff) | |
parent | am 0a7b9276: am f8f88321: Merge "Turn on text display for debuggable builds" (diff) | |
download | android_bootable_recovery-0f2d721d80a4ef828b80d315492a2d7435b45b61.tar android_bootable_recovery-0f2d721d80a4ef828b80d315492a2d7435b45b61.tar.gz android_bootable_recovery-0f2d721d80a4ef828b80d315492a2d7435b45b61.tar.bz2 android_bootable_recovery-0f2d721d80a4ef828b80d315492a2d7435b45b61.tar.lz android_bootable_recovery-0f2d721d80a4ef828b80d315492a2d7435b45b61.tar.xz android_bootable_recovery-0f2d721d80a4ef828b80d315492a2d7435b45b61.tar.zst android_bootable_recovery-0f2d721d80a4ef828b80d315492a2d7435b45b61.zip |
Diffstat (limited to 'recovery.cpp')
-rw-r--r-- | recovery.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp index 4dd827919..65172dfcc 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -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)) { |