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

Commit 43ad9159 authored by Pradeep Panigrahi's avatar Pradeep Panigrahi Committed by Android Git Automerger
Browse files

am aa236e6c: am e1d1e72f: Avoid sending TRANSFER_COMPLETED_ACTION intent multiple times.

* commit 'aa236e6c':
  Avoid sending TRANSFER_COMPLETED_ACTION intent multiple times.
parents 712b29e7 aa236e6c
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -542,8 +542,6 @@ public class BluetoothOppObexClientSession implements BluetoothOppObexSession {


        private void handleSendException(String exception) {
        private void handleSendException(String exception) {
            Log.e(TAG, "Error when sending file: " + exception);
            Log.e(TAG, "Error when sending file: " + exception);
            int status = BluetoothShare.STATUS_OBEX_DATA_ERROR;
            Constants.updateShareStatus(mContext1, mInfo.mId, status);
            mCallback.removeMessages(BluetoothOppObexSession.MSG_CONNECT_TIMEOUT);
            mCallback.removeMessages(BluetoothOppObexSession.MSG_CONNECT_TIMEOUT);
        }
        }