summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-01-24 06:02:58 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-01-24 06:02:58 +0100
commit64768cef878f2a9dc49b15e279b6649fa31f2a7a (patch)
tree437fb921f2f3dcd347a1aca597dd991b9e6c1a67 /updater
parentMerge "bootctrl HAL uses "default" service name" am: cf1af460d5 am: ee3030ad4e (diff)
parentMerge "Print with newline for ui_print." am: 90deaf9ab7 (diff)
downloadandroid_bootable_recovery-64768cef878f2a9dc49b15e279b6649fa31f2a7a.tar
android_bootable_recovery-64768cef878f2a9dc49b15e279b6649fa31f2a7a.tar.gz
android_bootable_recovery-64768cef878f2a9dc49b15e279b6649fa31f2a7a.tar.bz2
android_bootable_recovery-64768cef878f2a9dc49b15e279b6649fa31f2a7a.tar.lz
android_bootable_recovery-64768cef878f2a9dc49b15e279b6649fa31f2a7a.tar.xz
android_bootable_recovery-64768cef878f2a9dc49b15e279b6649fa31f2a7a.tar.zst
android_bootable_recovery-64768cef878f2a9dc49b15e279b6649fa31f2a7a.zip
Diffstat (limited to '')
-rw-r--r--updater/install.cpp1
-rw-r--r--updater/updater.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index 643145447..7a8e92f6c 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -76,7 +76,6 @@ static void uiPrint(State* state, const std::string& buffer) {
for (auto& line : lines) {
if (!line.empty()) {
fprintf(ui->cmd_pipe, "ui_print %s\n", line.c_str());
- fprintf(ui->cmd_pipe, "ui_print\n");
}
}
diff --git a/updater/updater.cpp b/updater/updater.cpp
index 473066263..22c060fcb 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -191,7 +191,6 @@ int main(int argc, char** argv) {
}
fprintf(cmd_pipe, "ui_print %s\n", line.c_str());
}
- fprintf(cmd_pipe, "ui_print\n");
}
if (state.error_code != kNoError) {