Send app id in fill response and authentication information 43/196843/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Sun, 6 Jan 2019 22:56:49 +0000 (07:56 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Sun, 6 Jan 2019 22:56:49 +0000 (07:56 +0900)
Change-Id: Id27c30c6bb366255192770512f2cc48ff8cd3316
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/autofill-daemon.c
tidl/autofill.tidl

index 749c287..6bfb347 100644 (file)
@@ -510,6 +510,7 @@ static void __fill_response_recv_cb(void *user_data, int context_id, rpc_port_au
     rpc_port_autofill_svc_fill_response_get_app_id(response_h, &app_id);
     rpc_port_autofill_svc_fill_response_get_view_id(response_h, &view_id);
 
+    rpc_port_autofill_fill_response_set_app_id(fill_response_h, app_id);
     rpc_port_autofill_fill_response_set_view_id(fill_response_h, view_id);
 
     rpc_port_autofill_svc_fill_response_foreach_response_groups(response_h, fill_response_group_cb, fill_response_h);
@@ -550,6 +551,7 @@ static void __auth_info_recv_cb(void *user_data, int context_id, rpc_port_autofi
     /* transfer auth info */
     rpc_port_autofill_auth_info_h auth_info_h = NULL;
     rpc_port_autofill_auth_info_create(&auth_info_h);
+    rpc_port_autofill_auth_info_set_app_id(auth_info_h, app_id);
     rpc_port_autofill_auth_info_set_view_id(auth_info_h, view_id);
     rpc_port_autofill_auth_info_set_exist_autofill_data(auth_info_h, exist_autofill_data);
     rpc_port_autofill_auth_info_set_need_authentication(auth_info_h, need_authentication);
index 8c3d185..6f4ccac 100644 (file)
@@ -25,6 +25,7 @@ struct autofill_save_view_info {
 }
 
 struct autofill_auth_info {
+    string app_id;
     string view_id;
     bool exist_autofill_data;
     bool need_authentication;
@@ -45,6 +46,7 @@ struct autofill_response_group {
 }
 
 struct autofill_fill_response {
+    string app_id;
     string view_id;
     list<autofill_response_group> response_groups;
 }