mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Rename registerServiceWithCallback
Rename registerServiceWithCallback to registerService Test: Build and check that cas functions as a lazy hal as before Change-Id: Id7aac4a4b34e5891e81dcb9ead1239a37c1a70c8
This commit is contained in:
@@ -47,7 +47,7 @@ int main() {
|
||||
android::status_t status;
|
||||
if (kLazyService) {
|
||||
auto serviceRegistrar = std::make_shared<LazyServiceRegistrar>();
|
||||
status = serviceRegistrar->registerServiceWithCallback(service);
|
||||
status = serviceRegistrar->registerService(service);
|
||||
} else {
|
||||
status = service->registerAsService();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user