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 34b78a5e7f30bae1fddb5d9944f5bad7b8636582..e1f1047e3be62cc17b31a8808c8f64170574471b 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 c44c30194d9a7bb8ba6068bcbbe7b8fa12090d93..fbf53b433aa8c8110b800917c96aed517513dba8 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 bd8900364884392d4c6691ea9cf9d9c4af682019..31a48092bcb70041cdc0c9eed165681edd200ed4 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 {