Remove TODO for service registration.
Using getRawServiceInternal is fine here. It would be ideal if
getService/registerAsService were methods on IBase (and no subchildren
implemented these), but this would break prebuilts, and so it isn't
worth it.
Fixes: 118394906
Test: N/A
Change-Id: Idec703f355013531e1f9b8cceee0651b5af43cee
diff --git a/transport/HidlLazyUtils.cpp b/transport/HidlLazyUtils.cpp
index 0656318..f1dd08b 100644
--- a/transport/HidlLazyUtils.cpp
+++ b/transport/HidlLazyUtils.cpp
@@ -90,7 +90,6 @@
const sp<::android::hidl::base::V1_0::IBase>& service, const std::string& name) {
static auto manager = hardware::defaultServiceManager1_2();
LOG(INFO) << "Registering HAL: " << service->descriptor << " with name: " << name;
- // TODO(b/118394906): Convert to service->registerAsService(name) when possible
status_t res = android::hardware::details::registerAsServiceInternal(service, name);
if (res == android::OK) {
mClientCallback->incServiceCounter();