Loading libs/binder/LazyServiceRegistrar.cpp +5 −5 Original line number Original line Diff line number Diff line Loading @@ -82,12 +82,12 @@ bool ClientCounterCallback::registerService(const sp<IBinder>& service, const st return false; return false; } } if (!reRegister) { if (!manager->registerClientCallback(name, service, this).isOk()) { if (!manager->registerClientCallback(name, service, this).isOk()) { ALOGE("Failed to add client callback for service %s", name.c_str()); ALOGE("Failed to add client callback for service %s", name.c_str()); return false; return false; } } if (!reRegister) { // Only add this when a service is added for the first time, as it is not removed // Only add this when a service is added for the first time, as it is not removed mRegisteredServices[name] = {service, allowIsolated, dumpFlags}; mRegisteredServices[name] = {service, allowIsolated, dumpFlags}; } } Loading Loading
libs/binder/LazyServiceRegistrar.cpp +5 −5 Original line number Original line Diff line number Diff line Loading @@ -82,12 +82,12 @@ bool ClientCounterCallback::registerService(const sp<IBinder>& service, const st return false; return false; } } if (!reRegister) { if (!manager->registerClientCallback(name, service, this).isOk()) { if (!manager->registerClientCallback(name, service, this).isOk()) { ALOGE("Failed to add client callback for service %s", name.c_str()); ALOGE("Failed to add client callback for service %s", name.c_str()); return false; return false; } } if (!reRegister) { // Only add this when a service is added for the first time, as it is not removed // Only add this when a service is added for the first time, as it is not removed mRegisteredServices[name] = {service, allowIsolated, dumpFlags}; mRegisteredServices[name] = {service, allowIsolated, dumpFlags}; } } Loading