Loading android/app/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java +3 −2 Original line number Diff line number Diff line Loading @@ -410,8 +410,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 @@ -420,6 +418,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 @@ -410,8 +410,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 @@ -420,6 +418,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