summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-06-03 18:15:49 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-06-03 18:15:50 +0200
commita69e608a521f7818cc0f17ba86710bd5b18137f2 (patch)
treea94ee0f95bb444b33f5e18e6e393f053e4e6f5b3 /install.cpp
parentMerge "Really don't use TEMP_FAILURE_RETRY with close in recovery." (diff)
parentLog update outputs in order (diff)
downloadandroid_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar.gz
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar.bz2
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar.lz
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar.xz
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.tar.zst
android_bootable_recovery-a69e608a521f7818cc0f17ba86710bd5b18137f2.zip
Diffstat (limited to 'install.cpp')
-rw-r--r--install.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.cpp b/install.cpp
index c7d382f3e..7d88ed72a 100644
--- a/install.cpp
+++ b/install.cpp
@@ -164,9 +164,9 @@ try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache) {
} else if (strcmp(command, "ui_print") == 0) {
char* str = strtok(NULL, "\n");
if (str) {
- ui->Print("%s", str);
+ ui->PrintOnScreenOnly("%s", str);
} else {
- ui->Print("\n");
+ ui->PrintOnScreenOnly("\n");
}
fflush(stdout);
} else if (strcmp(command, "wipe_cache") == 0) {