Loading android/app/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java +6 −2 Original line number Original line Diff line number Diff line Loading @@ -561,9 +561,13 @@ public class BluetoothOppObexClientSession implements BluetoothOppObexSession { if (outputStream != null) { if (outputStream != null) { outputStream.close(); outputStream.close(); } } } catch (IOException e) { Log.e(TAG, "Error when closing output stream after send"); } // Close InputStream and remove SendFileInfo from map // Close InputStream and remove SendFileInfo from map BluetoothOppUtility.closeSendFileInfo(mInfo.mUri); BluetoothOppUtility.closeSendFileInfo(mInfo.mUri); try { if (!error) { if (!error) { responseCode = putOperation.getResponseCode(); responseCode = putOperation.getResponseCode(); if (responseCode != -1) { if (responseCode != -1) { Loading Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java +6 −2 Original line number Original line Diff line number Diff line Loading @@ -561,9 +561,13 @@ public class BluetoothOppObexClientSession implements BluetoothOppObexSession { if (outputStream != null) { if (outputStream != null) { outputStream.close(); outputStream.close(); } } } catch (IOException e) { Log.e(TAG, "Error when closing output stream after send"); } // Close InputStream and remove SendFileInfo from map // Close InputStream and remove SendFileInfo from map BluetoothOppUtility.closeSendFileInfo(mInfo.mUri); BluetoothOppUtility.closeSendFileInfo(mInfo.mUri); try { if (!error) { if (!error) { responseCode = putOperation.getResponseCode(); responseCode = putOperation.getResponseCode(); if (responseCode != -1) { if (responseCode != -1) { Loading