From 3e72cd8ff529fefbfa7f1d6f2b24842d9c843082 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 7 Jan 2019 07:56:49 +0900 Subject: [PATCH] Send app id in fill response and authentication information Change-Id: Id27c30c6bb366255192770512f2cc48ff8cd3316 Signed-off-by: Jihoon Kim --- src/autofill-daemon.c | 2 ++ tidl/autofill.tidl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/autofill-daemon.c b/src/autofill-daemon.c index 749c287..6bfb347 100644 --- a/src/autofill-daemon.c +++ b/src/autofill-daemon.c @@ -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); diff --git a/tidl/autofill.tidl b/tidl/autofill.tidl index 8c3d185..6f4ccac 100644 --- a/tidl/autofill.tidl +++ b/tidl/autofill.tidl @@ -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 response_groups; } -- 2.7.4