summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-06-03 20:36:16 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-03 20:36:16 +0200
commit5393149d53785cc8a690b93ca4f0db490d216937 (patch)
tree453a397c8efa9f42307fd4fd5f681466d7fc20ed /install.cpp
parentam 02b64725: Merge "uncrypt: Write status when it reboots to factory reset" into mnc-dev (diff)
parentam a69e608a: Merge "Log update outputs in order" (diff)
downloadandroid_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar
android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar.gz
android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar.bz2
android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar.lz
android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar.xz
android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.tar.zst
android_bootable_recovery-5393149d53785cc8a690b93ca4f0db490d216937.zip
Diffstat (limited to '')
-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) {