OSDN Git Service

Don't require A2DP codec information when initialize audio_hal_interface
authorCheney Ni <cheneyni@google.com>
Thu, 21 Feb 2019 11:54:10 +0000 (19:54 +0800)
committerCheney Ni <cheneyni@google.com>
Thu, 21 Feb 2019 14:02:40 +0000 (22:02 +0800)
commit8552e95c46ee71eedd01c32f4ee8cc06478a35c0
treea7601b48255f72e24743680510b5c756ef5220e9
parentd20051b26ab3d8ce4b1edc0cbd11984aab1ce29a
Don't require A2DP codec information when initialize audio_hal_interface

Before set active device, it is normal that can't get the current codec
information, and will be setup later. If we query the codec and break
the init, it will cause the stack can't use Bluetooth Audio HAL for
A2DP, so remove here.

Bug: 125245738
Test: Connect / disconnect multiple A2DP manually when playing
Change-Id: Ic5493141cfba60115783c03fac4faf56a7a64b07
audio_hal_interface/a2dp_encoding.cc