char *service_name = NULL;
char *service_logo_image_path = NULL;
char *service_message = NULL;
+ int ret = AUTOFILL_ERROR_NONE;
if (!h) {
LOGW("parameter is NULL");
rpc_port_autofill_svc_auth_info_set_service_message(auth_info_h, service_message);
rpc_port_autofill_svc_auth_info_set_service_logo_image_path(auth_info_h, service_logo_image_path);
- rpc_port_AutofillSvcPort_autofill_svc_auth_info_cb_invoke(g_auth_info_cb, auth_info_h);
+ ret = rpc_port_AutofillSvcPort_autofill_svc_auth_info_cb_invoke(g_auth_info_cb, auth_info_h);
if (app_id)
free(app_id);
rpc_port_autofill_svc_auth_info_destroy(auth_info_h);
- return AUTOFILL_ERROR_NONE;
+ return ret;
}
// fill request
{
/* create autofill response */
rpc_port_autofill_svc_fill_response_h fill_response_h;
+ int ret = AUTOFILL_ERROR_NONE;
Eina_List *l;
autofill_fill_response_group_h it;
rpc_port_autofill_svc_response_group_destroy(res_group_h);
}
- rpc_port_AutofillSvcPort_autofill_svc_fill_response_cb_invoke(g_fill_response_cb, fill_response_h);
+ ret = rpc_port_AutofillSvcPort_autofill_svc_fill_response_cb_invoke(g_fill_response_cb, fill_response_h);
rpc_port_autofill_svc_fill_response_destroy(fill_response_h);
- return AUTOFILL_ERROR_NONE;
+ return ret;
}
EXPORT_API int autofill_service_set_commit_cb(autofill_service_commit_cb callback, void *user_data)