static void __fill_response_recv_cb(void *user_data, rpc_port_autofill_fill_response_h response_h)
{
+ char *app_id = NULL;
char *view_id = NULL;
autofill_h ah = user_data;
autofill_fill_response_h rh;
autofill_fill_response_create(&rh);
+ rpc_port_autofill_fill_response_get_app_id(response_h, &app_id);
rpc_port_autofill_fill_response_get_view_id(response_h, &view_id);
+ LOGD("app id : %s, view id : %s", app_id, view_id);
+
+ if (app_id) {
+ autofill_fill_response_set_app_id(rh, app_id);
+ free(app_id);
+ }
+
if (view_id) {
autofill_fill_response_set_view_id(rh, view_id);
-
- LOGD("view id : %s", view_id);
free(view_id);
}
bool autofill_data_present = false;
bool authentication_needed = false;
+ char *app_id = NULL;
char *view_id = NULL;
char *service_name = NULL;
char *service_logo_image_path = NULL;
char *service_message = NULL;
+ rpc_port_autofill_auth_info_get_app_id(auth_info_h, &app_id);
rpc_port_autofill_auth_info_get_view_id(auth_info_h, &view_id);
rpc_port_autofill_auth_info_get_exist_autofill_data(auth_info_h, &autofill_data_present);
rpc_port_autofill_auth_info_get_need_authentication(auth_info_h, &authentication_needed);
rpc_port_autofill_auth_info_get_service_logo_image_path(auth_info_h, &service_logo_image_path);
rpc_port_autofill_auth_info_get_service_message(auth_info_h, &service_message);
- LOGD("service name : %s", service_name);
+ LOGD("app id : %s, view id : %s, service name : %s", app_id, view_id, service_name);
+ autofill_auth_info_set_app_id(aih, app_id);
autofill_auth_info_set_view_id(aih, view_id);
autofill_auth_info_set_autofill_data_present(aih, autofill_data_present);
autofill_auth_info_set_authentication_needed(aih, authentication_needed);
autofill_auth_info_set_service_logo_image_path(aih, service_logo_image_path);
autofill_auth_info_set_service_message(aih, service_message);
+ if (app_id)
+ free(app_id);
+
if (view_id)
free(view_id);