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

Commit ff5331e1 authored by Hemant Gupta's avatar Hemant Gupta Committed by android-build-merger
Browse files

Merge "OPP: Interrup Obex Client thread while sending ABORT" am: ca6bcc69

am: 1dd000fa

Change-Id: I1f99207c21fcab3e93049531882e73c6abdf2095
parents 899d0a5d 1dd000fa
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -505,6 +505,13 @@ public class BluetoothOppTransfer implements BluetoothOppBatch.BluetoothOppBatch
        if (V) {
            Log.v(TAG, "stop");
        }
        if (mSession != null) {
            if (V) {
                Log.v(TAG, "Stop mSession");
            }
            mSession.stop();
        }

        cleanUp();
        if (mConnectThread != null) {
            try {
@@ -520,12 +527,6 @@ public class BluetoothOppTransfer implements BluetoothOppBatch.BluetoothOppBatch
            }
            mConnectThread = null;
        }
        if (mSession != null) {
            if (V) {
                Log.v(TAG, "Stop mSession");
            }
            mSession.stop();
        }
        // Prevent concurrent access
        synchronized (this) {
            if (mHandlerThread != null) {