commit | 4a3a2fed646019f590b39050a214cfbfc101fae1 | [log] [tgz] |
---|---|---|
author | Andrew Cheng <chengca@google.com> | Thu Oct 10 15:19:46 2019 -0700 |
committer | Andrew Cheng <chengca@google.com> | Mon Oct 14 18:26:43 2019 -0700 |
tree | 13e15163f0a5ee84a099b585fb4b63ff71338582 | |
parent | 2aae2aefa222d100c5522346fd99fee317c3b5c4 [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