OSDN Git Service

Fix bluetooth crash when no bluetooth.audio provider is present
authorJakub Pawlowski <jpawlowski@google.com>
Thu, 11 Feb 2021 12:32:58 +0000 (13:32 +0100)
committerJakub Pawlowski <jpawlowski@google.com>
Thu, 11 Feb 2021 12:47:10 +0000 (13:47 +0100)
commit48111bd9ffc946ca02b52688ed170f5312dcf1df
tree1b09778859466623116393fdf81f4ca2db91df71
parentbf6cb94043c4b11cc4101dab760a3fee5841454b
Fix bluetooth crash when no bluetooth.audio provider is present

The stack does fall back to IBluetoothAudioOffload, if present, rather
than crashing.
This is observed on some GSI builds.

Bug: 179967994
Test: start Bluetooth on device without bluetooth.audio HAL
Change-Id: I2979d43a1721f5d41b3a89ec14f670b16ef0d660
audio_hal_interface/client_interface.cc
audio_hal_interface/hal_version_manager.h