diff options
author | Jack He <siyuanh@google.com> | 2019-04-03 00:48:49 -0700 |
---|---|---|
committer | Jack He <siyuanh@google.com> | 2019-04-03 13:39:26 -0700 |
commit | cb49964b533c05fa0106d6090644e6b3dd741273 (patch) | |
tree | 31ecb5f24143b8eb3df78231767e856594d47672 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 79d943d4476694c506433d39112a271b7f8a1fcb (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions