[TBT][Non-ACR][Bluetooth][TSIX-4344, file push rejected fix] 50/238450/1
authorNibha Sharma <nibha.sharma@samsung.com>
Tue, 14 Jul 2020 04:32:22 +0000 (10:02 +0530)
committerNibha Sharma <nibha.sharma@samsung.com>
Tue, 14 Jul 2020 04:32:22 +0000 (10:02 +0530)
Change-Id: I82b49762fffb08fba98d2b6c293e9e6b770eb525
Signed-off-by: Nibha Sharma <nibha.sharma@samsung.com>
release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk
release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk
tbtcoreapp/src/view/tbt-bluetooth-view.c

index 4667ebec36c7371126754a02d51817adae283fdc..49a6f41ad6841e08c073decf1617ed7058f89b11 100755 (executable)
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
index 5cd1aee156b4c74deb301a46d0556292c94436b5..45023b0dcabdb4fb141ee32374127dd5ca5ef06f 100755 (executable)
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
index 6b6ce3e43d1b3a0f14eb1caa0c818958c2c67a94..d35d56ddfabd0c6f25fa4c23810cf7bec43c72fc 100644 (file)
@@ -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)