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

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

Convert LazyServiceRegistrar usage to singleton

Test: lshal
Bug: 139376253
Change-Id: I342decf149ec60653d1a81a1c02b9aca3f4546b4
parent d528d7e6
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)