Loading android/app/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java +3 −2 Original line number Diff line number Diff line Loading @@ -415,8 +415,6 @@ public class BluetoothOppObexClientSession implements BluetoothOppObexSession { outputStream.write(buffer, 0, readLength); position += readLength; /* check remote accept or reject */ responseCode = putOperation.getResponseCode(); if (position == fileInfo.mLength) { // if file length is smaller than buffer size, only one packet Loading @@ -425,6 +423,9 @@ public class BluetoothOppObexClientSession implements BluetoothOppObexSession { outputStream = null; } /* check remote accept or reject */ responseCode = putOperation.getResponseCode(); mCallback.removeMessages(BluetoothOppObexSession.MSG_CONNECT_TIMEOUT); synchronized (this) { mWaitingForRemote = false; Loading Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java +3 −2 Original line number Diff line number Diff line Loading @@ -415,8 +415,6 @@ public class BluetoothOppObexClientSession implements BluetoothOppObexSession { outputStream.write(buffer, 0, readLength); position += readLength; /* check remote accept or reject */ responseCode = putOperation.getResponseCode(); if (position == fileInfo.mLength) { // if file length is smaller than buffer size, only one packet Loading @@ -425,6 +423,9 @@ public class BluetoothOppObexClientSession implements BluetoothOppObexSession { outputStream = null; } /* check remote accept or reject */ responseCode = putOperation.getResponseCode(); mCallback.removeMessages(BluetoothOppObexSession.MSG_CONNECT_TIMEOUT); synchronized (this) { mWaitingForRemote = false; Loading