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

Commit ed5ce052 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Bluetooth-OPP: Send the share status of file once transfer is complete"

parents a04b0ed5 9acf0403
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -365,6 +365,7 @@ public class BluetoothOppObexClientSession implements BluetoothOppObexSession {
            if (status == BluetoothShare.STATUS_SUCCESS) {
                Message msg = Message.obtain(mCallback);
                msg.what = BluetoothOppObexSession.MSG_SHARE_COMPLETE;
                mInfo.mStatus = status;
                msg.obj = mInfo;
                msg.sendToTarget();
            } else {
+1 −2
Original line number Diff line number Diff line
@@ -827,8 +827,7 @@ public class BluetoothOppService extends Service {
        info.mConfirm = newConfirm;
        int newStatus = cursor.getInt(statusColumn);
        int oldStatus = info.mStatus;
        if (!BluetoothShare.isStatusCompleted(info.mStatus)
                && BluetoothShare.isStatusCompleted(newStatus)) {
        if (BluetoothShare.isStatusCompleted(info.mStatus)) {
            mNotifier.mNotificationMgr.cancel(info.mId);
        }