Convert LazyServiceRegistrar usage to singleton

am: e1de3d1ab2

Change-Id: I2875717a6e7473feec0902a68b241f09b2d88e29
gugelfrei
Peter Kalauskas 5 years ago committed by android-build-merger
commit b84f0142d5

@ -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)

Loading…
Cancel
Save