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

Skip to content
Commit 55dd9d6c authored by Andrew Cheng's avatar Andrew Cheng
Browse files

NullPointerException handling, connectObexSession

In connectObexSession, if a null mSocket is passed to
BluetoothObexTransport, then a NullPointerException will be thrown when
a new ClientSession is created.

This can occur if abort() --> closeSocket() is called between the calls
to connectSocket() and connectObexSession().

Bug: 142056980
Test: cycle Bluetooth adapter on/off 1k times
Change-Id: I78691eb03cd4f3e12922a31b1bc4f4144353c125
parent a2528571
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment