Make client use binder interface on brillo
TEST=Verified status and update commands
Bug: 25908638
Change-Id: I7994de41001b4e116bffa539f23f1344ab1deae9
diff --git a/daemon.cc b/daemon.cc
index 3f88a84..ece151c 100644
--- a/daemon.cc
+++ b/daemon.cc
@@ -90,6 +90,10 @@
service_)) {
LOG(ERROR) << "Failed to register binder service.";
}
+
+#if defined(__BRILLO__) || defined(__CHROMEOS__)
+ update_attempter->set_binder_service(service_.get());
+#endif // defined(__BRILLO__) || defined(__CHROMEOS__)
#endif // USE_BINDER
#if USE_DBUS