summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-05-20 02:02:16 +0200
committerTao Bao <tbao@google.com>2015-06-03 07:15:40 +0200
commitb6918c7c433054ac4352d5f7746f7c2bf2971083 (patch)
tree4236756d31f2f9dc4cb4736d08bc2a41f4404fe5 /install.cpp
parentMerge "Stop using libstdc++." (diff)
downloadandroid_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar.gz
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar.bz2
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar.lz
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar.xz
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.tar.zst
android_bootable_recovery-b6918c7c433054ac4352d5f7746f7c2bf2971083.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) {