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:
Peter Kalauskas 2019-01-03 15:23:12 -08:00
parent 4592ed15cd
commit b4abef9b0a

View file

@ -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();
}