Skip to content
Commit cb49964b authored by Jack He's avatar Jack He
Browse files

Audio: Check if BluetoothDevice.getName() returns null

* BluetoothDevice.getName() could return null if Bluetooth process
  is not running. This patch uses empty string "" to replace the null
  value returned from BluetoothDevice.getName(). The logic is wrapped
  in BtHelper#getName(BluetoothDevice) method

Fixes: 129806133
Test: atest BluetoothInstrumentationTests on eng build
Change-Id: If44e675aafa779fa86451742aa917404987fc15a
parent 79d943d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment