Make client use binder interface on brillo
TEST=Verified status and update commands
Bug: 25908638
Change-Id: I7994de41001b4e116bffa539f23f1344ab1deae9
diff --git a/update_attempter.cc b/update_attempter.cc
index 9b68c44..d0c20d0 100644
--- a/update_attempter.cc
+++ b/update_attempter.cc
@@ -1217,6 +1217,13 @@
if (system_state_->weave_service())
system_state_->weave_service()->UpdateWeaveState();
+#if USE_BINDER
+ if (binder_service_)
+ binder_service_->SendStatusUpdate(last_checked_time_, download_progress_,
+ UpdateStatusToString(status_),
+ new_version_.c_str(), new_payload_size_);
+#endif // USE_BINDER
+
if (!dbus_adaptor_)
return;
last_notify_time_ = TimeTicks::Now();