Remove code to support error message 58/201758/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 19 Mar 2019 07:51:42 +0000 (16:51 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 19 Mar 2019 07:51:42 +0000 (16:51 +0900)
Change-Id: I0e90b481ae256b6fd052d39822b101d7b1f6ccd3
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/autofill-daemon.c
tidl/autofill.tidl
tidl/autofill_service.tidl

index 34b78a5..e1f1047 100644 (file)
@@ -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)
index c44c301..fbf53b4 100644 (file)
@@ -54,7 +54,6 @@ struct autofill_fill_response {
 struct autofill_error_info {
     string app_id;
     int error_code;
-    string error_message;
 }
 
 interface AutofillAppPort {
index bd89003..31a4809 100644 (file)
@@ -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 {