Add default argument to registerServiceWithCallback
Test: Call registerServiceWithCallback without service name argument
Change-Id: Ic50b2cc7430be97d81be44ba2addb2e5d267f74e
diff --git a/transport/include/hidl/HidlLazyUtils.h b/transport/include/hidl/HidlLazyUtils.h
index fc9c268..2161b7d 100644
--- a/transport/include/hidl/HidlLazyUtils.h
+++ b/transport/include/hidl/HidlLazyUtils.h
@@ -31,7 +31,7 @@
public:
LazyServiceRegistrar();
status_t registerServiceWithCallback(const sp<::android::hidl::base::V1_0::IBase>& service,
- const std::string& name);
+ const std::string& name = "default");
private:
std::shared_ptr<details::LazyServiceRegistrarImpl> mImpl;