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

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

Merge "Bluetooth : NPE issue fix while stopping transfer files."

parents da174748 5c49b256
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -428,12 +428,15 @@ public class BluetoothOppTransfer implements BluetoothOppBatch.BluetoothOppBatch
            if (V) Log.v(TAG, "Stop mSession");
            mSession.stop();
        }
        // Prevent concurrent access
        synchronized (this) {
            if (mHandlerThread != null) {
            mHandlerThread.getLooper().quit();
                mHandlerThread.quit();
                mHandlerThread.interrupt();
                mHandlerThread = null;
            }
        }
    }

    private void startObexSession() {