Loading android/app/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java +7 −0 Original line number Original line Diff line number Diff line Loading @@ -535,6 +535,13 @@ public class BluetoothOppObexClientSession implements BluetoothOppObexSession { } } } catch (IOException e) { } catch (IOException e) { Log.e(TAG, "Error when closing stream after send"); Log.e(TAG, "Error when closing stream after send"); // Socket has been closed due to the response timeout in the framework, // mark the transfer as failure. if (position != fileInfo.mLength) { status = BluetoothShare.STATUS_FORBIDDEN; Constants.updateShareStatus(mContext1, mInfo.mId, status); } } } } } return status; return status; Loading Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java +7 −0 Original line number Original line Diff line number Diff line Loading @@ -535,6 +535,13 @@ public class BluetoothOppObexClientSession implements BluetoothOppObexSession { } } } catch (IOException e) { } catch (IOException e) { Log.e(TAG, "Error when closing stream after send"); Log.e(TAG, "Error when closing stream after send"); // Socket has been closed due to the response timeout in the framework, // mark the transfer as failure. if (position != fileInfo.mLength) { status = BluetoothShare.STATUS_FORBIDDEN; Constants.updateShareStatus(mContext1, mInfo.mId, status); } } } } } return status; return status; Loading