Convert LazyServiceRegistrar usage to singleton am: e1de3d1ab2

am: b84f0142d5

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

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