summaryrefslogtreecommitdiff
path: root/tools/aapt/ResourceTable.cpp
diff options
context:
space:
mode:
author Andre Eisenbach <eisenbach@google.com> 2014-10-28 17:03:18 -0700
committer Andre Eisenbach <eisenbach@google.com> 2014-10-29 09:56:41 -0700
commit570cc5302a2e076f2b6ce810f9ac6f3c53bcd125 (patch)
tree1d9dc08052856189e2a5f262ea28df0e10fb5636 /tools/aapt/ResourceTable.cpp
parentf5c00c1c1136c9752b9c0157f9eca6385d7b9448 (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
Diffstat (limited to 'tools/aapt/ResourceTable.cpp')
0 files changed, 0 insertions, 0 deletions