Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4de2e06 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Gerrit Code Review
Browse files

Merge "OPP: Update share status when interrupted at remote side."

parents 245367e8 cb136395
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -556,6 +556,10 @@ public class BluetoothOppObexClientSession implements BluetoothOppObexSession {

        private void handleSendException(String exception) {
            Log.e(TAG, "Error when sending file: " + exception);
            // Update interrupted outbound content resolver entry when
            // error during transfer.
            Constants.updateShareStatus(mContext1, mInfo.mId,
                BluetoothShare.STATUS_OBEX_DATA_ERROR);
            mCallback.removeMessages(BluetoothOppObexSession.MSG_CONNECT_TIMEOUT);
        }