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

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

Convert LazyServiceRegistrar usage to singleton am: e1de3d1a

am: b84f0142

Change-Id: I2f0b20d5deb1d9c8ed359f4e8612265a23e1f216
parents f2c66201 b84f0142
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)