From: Nibha Sharma Date: Tue, 14 Jul 2020 04:32:22 +0000 (+0530) Subject: [TBT][Non-ACR][Bluetooth][TSIX-4344, file push rejected fix] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e25d9cad5566d200a793cab0fd1688ebb4497902;p=test%2Ftct%2Fnative%2Fbehavior.git [TBT][Non-ACR][Bluetooth][TSIX-4344, file push rejected fix] Change-Id: I82b49762fffb08fba98d2b6c293e9e6b770eb525 Signed-off-by: Nibha Sharma --- diff --git a/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk b/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk index 4667ebe..49a6f41 100755 Binary files a/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk and b/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk differ diff --git a/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk b/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk index 5cd1aee..45023b0 100755 Binary files a/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk and b/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk differ diff --git a/tbtcoreapp/src/view/tbt-bluetooth-view.c b/tbtcoreapp/src/view/tbt-bluetooth-view.c index 6b6ce3e..d35d56d 100644 --- a/tbtcoreapp/src/view/tbt-bluetooth-view.c +++ b/tbtcoreapp/src/view/tbt-bluetooth-view.c @@ -201,6 +201,7 @@ static void _bt_hdp_data_received_cb(unsigned int channel, const char *data, uns static void _on_app_pause_resume_cb(bool resume); + /** * @function bluetooth_view_add * @since_tizen 2.3 @@ -602,7 +603,7 @@ static void update_view_controls(bluetooth_view *this) else if(this->view->tbt_info->apptype == TBT_APP_BT_OPP_SERVER && this->is_opp_server_accecpt == EINA_FALSE) { DBG("TBT_APP_BT_OPP_SERVER"); - result = bt_opp_server_initialize_by_connection_request(get_shared_resource_path(this->view->tbt_info->file_name), _adpter_bt_opp_server_connection_requested_cb,this); + result = bt_opp_server_initialize_by_connection_request(get_storage_image_dir_path(), _adpter_bt_opp_server_connection_requested_cb,this); DBG("bt_opp_server_initialize_by_connection_request %s %s ", get_bluetooth_error(result), app_get_resource_path()); RETM_IF(result != BT_ERROR_NONE, "[bt_opp_server_initialize_by_connection_request] Failed. > Error = %s", get_bluetooth_error(result)); } @@ -1205,7 +1206,7 @@ static void _control_button_pressed_cb(void *data, Evas_Object *obj, void *event result = bt_opp_client_initialize(); RETM_IF(result != BT_ERROR_NONE, "bt_opp_client_initialize fail > Error = %d", result); - result = bt_opp_client_add_file(get_shared_resource_path(this->view->tbt_info->file_name)); + result = bt_opp_client_add_file(get_shared_resource_path(this->view->tbt_info->file_name)); RETM_IF(result != BT_ERROR_NONE, "bt_opp_client_add_file fail > Error = %d", result); if(this->selected_device_info != NULL)