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

Commit 9da4d5a5 authored by Peter Kalauskas's avatar Peter Kalauskas Committed by android-build-merger
Browse files

Rename registerServiceWithCallback

am: b4abef9b

Change-Id: Iaa3cade80557e7dcd0612cc24a34d33be3405fbd
parents 9bde96b8 b4abef9b
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();
    }