Merge changes from topic "lazy-cas"
* changes:
Fix typo in comment
Add default argument to registerServiceWithCallback
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;
diff --git a/transport/include/hidl/LegacySupport.h b/transport/include/hidl/LegacySupport.h
index 573a793..d5b3ddb 100644
--- a/transport/include/hidl/LegacySupport.h
+++ b/transport/include/hidl/LegacySupport.h
@@ -96,7 +96,7 @@
*
* If this function is called multiple times to register different services, then this process will
* only exit once all services have 0 clients. This function does not know about clients registered
- * through registerPassthroughServiceImplementation, so if that function is used in conjuction with
+ * through registerPassthroughServiceImplementation, so if that function is used in conjunction with
* this one, the process may exit while a client is still using the HAL.
*/
template <class Interface>