Loading framework/java/android/bluetooth/BluetoothSocket.java +2 −2 Original line number Diff line number Diff line Loading @@ -978,7 +978,7 @@ public final class BluetoothSocket implements Closeable { if (mL2capBuffer.remaining() == 0) { if (VDBG) Log.v(TAG, "l2cap buffer empty, refilling..."); if (fillL2capRxBuffer() == -1) { throw new IOException("bt socket closed, read return: " + ret); return -1; } } if (bytesToRead > mL2capBuffer.remaining()) { Loading @@ -994,7 +994,7 @@ public final class BluetoothSocket implements Closeable { ret = mSocketIS.read(b, offset, length); } if (ret < 0) { throw new IOException("bt socket closed, read return: " + ret); return -1; } if (VDBG) Log.d(TAG, "read out: " + mSocketIS + " ret: " + ret); return ret; Loading Loading
framework/java/android/bluetooth/BluetoothSocket.java +2 −2 Original line number Diff line number Diff line Loading @@ -978,7 +978,7 @@ public final class BluetoothSocket implements Closeable { if (mL2capBuffer.remaining() == 0) { if (VDBG) Log.v(TAG, "l2cap buffer empty, refilling..."); if (fillL2capRxBuffer() == -1) { throw new IOException("bt socket closed, read return: " + ret); return -1; } } if (bytesToRead > mL2capBuffer.remaining()) { Loading @@ -994,7 +994,7 @@ public final class BluetoothSocket implements Closeable { ret = mSocketIS.read(b, offset, length); } if (ret < 0) { throw new IOException("bt socket closed, read return: " + ret); return -1; } if (VDBG) Log.d(TAG, "read out: " + mSocketIS + " ret: " + ret); return ret; Loading