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

Commit 25259b25 authored by Peter Kalauskas's avatar Peter Kalauskas Committed by android-build-merger
Browse files

Convert LazyServiceRegistrar usage to singleton am: e1de3d1a am: b84f0142

am: e7330ce7

Change-Id: I576ff0dc11efefa6671d20e867ab2cb6eea477f6
parents 0fbfbd15 e7330ce7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ int main(int /* argc */, char** /* argv */) {
    configureRpcThreadpool(8, true /* callerWillJoin */);

    // Setup hwbinder service
    LazyServiceRegistrar serviceRegistrar;
    auto serviceRegistrar = LazyServiceRegistrar::getInstance();

    // Setup hwbinder service
    CHECK_EQ(serviceRegistrar.registerService(drmFactory, "clearkey"), android::NO_ERROR)