commit | 570cc5302a2e076f2b6ce810f9ac6f3c53bcd125 | [log] [tgz] |
---|---|---|
author | Andre Eisenbach <[email protected]> | Tue Oct 28 17:03:18 2014 -0700 |
committer | Andre Eisenbach <[email protected]> | Wed Oct 29 09:56:41 2014 -0700 |
tree | 1d9dc08052856189e2a5f262ea28df0e10fb5636 | |
parent | f5c00c1c1136c9752b9c0157f9eca6385d7b9448 [diff] |
Fix exception in AudioService when no BT Headset is connected. If AudioManager.startBluetoothSco() is invoked with no Bluetooth Headset connected, a NullPointerException will ensue. Added check to make sure mBluetoothHeadsetDevice is set before accessing it. Bug: 17601845 Change-Id: Ia00bfffbea5484230b11a74787fe3309c18f824d