commit | 151a508daf9fc227e1117fc02fe3a8a71935f6f6 | [log] [tgz] |
---|---|---|
author | weichinweng <weichinweng@google.com> | Thu Aug 06 14:32:53 2020 +0800 |
committer | Weichin Weng <weichinweng@google.com> | Wed Nov 18 06:49:26 2020 +0000 |
tree | 2daeb5cb33e4a1edfa32ed2e88bf2eacfd589f73 | |
parent | 531982f9f5dedbb84cf05c64fad6f763be3f2cf4 [diff] |
Add null check when receiving PAN connection state changed In some corner cases, when the Bluetooth is turning off, getDevice will return null since mAdapter is null. Add null check when receiving PAN connection state changed. Bug: 150522777 Test: atest BluetoothInstrumentationTests Tag: #stability Change-Id: Ifc0ca5d505febaae7e1bfae63dc69743fc4ece37