commit | 55dd9d6c4cb5389c8fbd9385e9aebd6e01585ae5 | [log] [tgz] |
---|---|---|
author | Andrew Cheng <chengca@google.com> | Thu Oct 10 15:19:46 2019 -0700 |
committer | Andrew Cheng <chengca@google.com> | Fri Oct 11 09:48:14 2019 -0700 |
tree | 4e48fcf9e3f3e239865280ab6f78f2aca40fb873 | |
parent | a2528571ffaa21d02426d9e3d7172aa1e330eae9 [diff] |
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