summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-09-12 07:07:56 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-09-12 07:07:56 +0200
commit47506a2c96b7a97093aecca837fe47b080bb3678 (patch)
tree45d2108fa1ba0e5825fda910a283938554d337ba /recovery.cpp
parentam 7c3d09c2: am 0cf19d9b: am 7a677807: Merge "updater: Fix the line breaks in ui_print commands." (diff)
parentam 60524198: am b83fd518: Merge "recovery: Remove redirect_stdio() when calling ShowFile()." (diff)
downloadandroid_bootable_recovery-47506a2c96b7a97093aecca837fe47b080bb3678.tar
android_bootable_recovery-47506a2c96b7a97093aecca837fe47b080bb3678.tar.gz
android_bootable_recovery-47506a2c96b7a97093aecca837fe47b080bb3678.tar.bz2
android_bootable_recovery-47506a2c96b7a97093aecca837fe47b080bb3678.tar.lz
android_bootable_recovery-47506a2c96b7a97093aecca837fe47b080bb3678.tar.xz
android_bootable_recovery-47506a2c96b7a97093aecca837fe47b080bb3678.tar.zst
android_bootable_recovery-47506a2c96b7a97093aecca837fe47b080bb3678.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/recovery.cpp b/recovery.cpp
index c683bae1d..379137a64 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -745,10 +745,7 @@ static void choose_recovery_file(Device* device) {
int chosen_item = get_menu_selection(headers, entries, 1, 0, device);
if (strcmp(entries[chosen_item], "Back") == 0) break;
- // TODO: do we need to redirect? ShowFile could just avoid writing to stdio.
- redirect_stdio("/dev/null");
ui->ShowFile(entries[chosen_item]);
- redirect_stdio(TEMPORARY_LOG_FILE);
}
for (size_t i = 0; i < (sizeof(entries) / sizeof(*entries)); i++) {