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

Commit 535c6dfc 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

am: 25259b25

Change-Id: I872f5ba05446a1c591aff62a1dbe2b38d0407acd
parents 85bf8a17 25259b25
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)