Convert LazyServiceRegistrar usage to singleton

Test: lshal
Bug: 139376253
Change-Id: I342decf149ec60653d1a81a1c02b9aca3f4546b4
gugelfrei
Peter Kalauskas 5 years ago
parent d528d7e695
commit e1de3d1ab2

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