Change-Id: I8e895eec774a887a5cf73d847276aa925f3f007b
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
result = SCARD_ERROR_IPC_FAILED;
}
+ if (service->handler != NULL) {
+ service->handler(service, service->context);
+ } else if (service->listener != NULL) {
+ if (result == SCARD_ERROR_OK) {
+ service->listener->serviceConnected(service, service->context);
+ } else {
+ service->listener->errorHandler(service, result, service->context);
+ }
+ }
+
_END();
return result;
this->context = context;
this->listener = listener;
- return _initialize();
+ _initialize_sync();
+ return true;
}
bool SEService::initializeSync(void *context)