From: Jihoon Kim Date: Tue, 19 Mar 2019 07:51:42 +0000 (+0900) Subject: Remove code to support error message X-Git-Tag: submit/tizen/20190319.101836~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F58%2F201758%2F1;p=platform%2Fcore%2Fuifw%2Fautofill-daemon.git Remove code to support error message Change-Id: I0e90b481ae256b6fd052d39822b101d7b1f6ccd3 Signed-off-by: Jihoon Kim --- diff --git a/src/autofill-daemon.c b/src/autofill-daemon.c index 34b78a5..e1f1047 100644 --- a/src/autofill-daemon.c +++ b/src/autofill-daemon.c @@ -611,31 +611,25 @@ static void __auth_info_recv_cb(void *user_data, int context_id, rpc_port_autofi static void __error_info_recv_cb(void *user_data, int context_id, rpc_port_autofill_svc_error_info_h svc_error_info_h) { char *app_id = NULL; - char *error_message = NULL; int error_code = 0; rpc_port_autofill_svc_error_info_get_app_id(svc_error_info_h, &app_id); rpc_port_autofill_svc_error_info_get_error_code(svc_error_info_h, &error_code); - rpc_port_autofill_svc_error_info_get_error_message(svc_error_info_h, &error_message); /* transfer error info */ rpc_port_autofill_error_info_h error_info_h = NULL; rpc_port_autofill_error_info_create(&error_info_h); rpc_port_autofill_error_info_set_app_id(error_info_h, app_id); rpc_port_autofill_error_info_set_error_code(error_info_h, error_code); - rpc_port_autofill_error_info_set_error_message(error_info_h, error_message); autofill_client_s *sender_client = get_autofill_client(app_id, context_id); if (sender_client) rpc_port_AutofillAppPort_autofill_error_info_received_cb_invoke(sender_client->error_info_cb, error_info_h); - LOGD("error code : %d, message : %s", error_code, error_message); + LOGD("error code : %x", error_code); if (app_id) free(app_id); - - if (error_message) - free(error_message); } static void __on_connected(rpc_port_proxy_AutofillSvcPort_h h, void *user_data) diff --git a/tidl/autofill.tidl b/tidl/autofill.tidl index c44c301..fbf53b4 100644 --- a/tidl/autofill.tidl +++ b/tidl/autofill.tidl @@ -54,7 +54,6 @@ struct autofill_fill_response { struct autofill_error_info { string app_id; int error_code; - string error_message; } interface AutofillAppPort { diff --git a/tidl/autofill_service.tidl b/tidl/autofill_service.tidl index bd89003..31a4809 100644 --- a/tidl/autofill_service.tidl +++ b/tidl/autofill_service.tidl @@ -56,7 +56,6 @@ struct autofill_svc_fill_response { struct autofill_svc_error_info { string app_id; int error_code; - string error_message; } interface AutofillSvcPort {