boot control: remove getInterfaceVersion reference
getInterfaceVersion is being removed because it doesn't provide any
information (V1_0::IBootControl -> {1, 0}).
Bug: 34041669
Test: hidl_test
Change-Id: Ifac37526b0329c11abaa9d6d055041b2f73297be
diff --git a/boot_control_android.cc b/boot_control_android.cc
index 8a15049..86c0a9f 100644
--- a/boot_control_android.cc
+++ b/boot_control_android.cc
@@ -58,13 +58,11 @@
bool BootControlAndroid::Init() {
module_ = IBootControl::getService("bootctrl");
if (module_ == nullptr) {
- LOG(ERROR) << "Error getting bootctrl HIDL module.\n";
+ LOG(ERROR) << "Error getting bootctrl HIDL module.";
return false;
}
- LOG(INFO) << "Loaded boot HIDL HAL version "
- << module_->getInterfaceVersion().get_major() << "."
- << module_->getInterfaceVersion().get_minor();
+ LOG(INFO) << "Loaded boot control hidl hal.";
return true;
}