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

Commit 24516a76 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5939454 from 321fe1ea to rvc-release

Change-Id: Ie78b9113fcc81dabbb18fcc85bb41ad3c343b90b
parents 670ec7ce 321fe1ea
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -329,7 +329,10 @@ class PbapClientConnectionHandler extends Handler {
            if (DBG) {
                Log.d(TAG, "Success = " + Boolean.toString(connectionSuccessful));
            }
        } catch (IOException e) {
        } catch (IOException | NullPointerException e) {
            // Will get NPE if a null mSocket is passed to BluetoothObexTransport.
            // mSocket can be set to null if an abort() --> closeSocket() was called between
            // the calls to connectSocket() and connectObexSession().
            Log.w(TAG, "CONNECT Failure " + e.toString());
            closeSocket();
        }