return;
}
+ ah->connected = true;
+
LOGI("connected");
rpc_port_AutofillAppPort_autofill_fill_response_received_cb_h fill_response_received_cb = rpc_port_AutofillAppPort_autofill_fill_response_received_cb_create(__fill_response_recv_cb, false, ah);
rpc_port_AutofillAppPort_autofill_auth_info_received_cb_h auth_info_received_cb = rpc_port_AutofillAppPort_autofill_auth_info_received_cb_create(__auth_info_recv_cb, false, ah);
autofill_h ah = user_data;
if (ah) {
+ ah->connected = false;
+
if (ah && ah->connection_callback)
ah->connection_callback(ah, AUTOFILL_CONNECTION_STATUS_DISCONNECTED, ah->connection_userdata);
return AUTOFILL_ERROR_OPERATION_FAILED;
}
+ if (!ah->connected) {
+ LOGW("[ERROR] Not connected");
+ return AUTOFILL_ERROR_OPERATION_FAILED;
+ }
+
rpc_port_autofill_save_view_info_create(&vih);
rpc_port_autofill_save_view_info_set_view_id(vih, vi->view_id);
return AUTOFILL_ERROR_OPERATION_FAILED;
}
+ if (!ah->connected) {
+ LOGW("[ERROR] Not connected");
+ return AUTOFILL_ERROR_OPERATION_FAILED;
+ }
+
LOGD("app id : %s, view id : %s", vi->app_id, vi->view_id);
rpc_port_autofill_view_info_create(&vih);