Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4abef9b authored by Peter Kalauskas's avatar Peter Kalauskas
Browse files

Rename registerServiceWithCallback

Rename registerServiceWithCallback to registerService

Test: Build and check that cas functions as a lazy hal as before
Change-Id: Id7aac4a4b34e5891e81dcb9ead1239a37c1a70c8
parent 4592ed15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
    }