summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-05-04 18:34:29 +0200
committerTao Bao <tbao@google.com>2015-05-04 18:59:29 +0200
commit785d22c88cda46972331c04ebc9df97371a696da (patch)
treecfde9b5ebc9da956e956e417caecc444c2512a8c /recovery.cpp
parentMerge "Fix mips64 minadbd_test build." (diff)
downloadandroid_bootable_recovery-785d22c88cda46972331c04ebc9df97371a696da.tar
android_bootable_recovery-785d22c88cda46972331c04ebc9df97371a696da.tar.gz
android_bootable_recovery-785d22c88cda46972331c04ebc9df97371a696da.tar.bz2
android_bootable_recovery-785d22c88cda46972331c04ebc9df97371a696da.tar.lz
android_bootable_recovery-785d22c88cda46972331c04ebc9df97371a696da.tar.xz
android_bootable_recovery-785d22c88cda46972331c04ebc9df97371a696da.tar.zst
android_bootable_recovery-785d22c88cda46972331c04ebc9df97371a696da.zip
Diffstat (limited to '')
-rw-r--r--recovery.cpp7
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)) {