Commit ff1020a4 authored by Satheesh Kumar Pallemoni's avatar Satheesh Kumar Pallemoni
Browse files

A2dpSrc: Update optionalcodecsupport on codecconfig change event.(2/2)

When remote does setconfig on sbc during connection, A2dp SM is
calling updateOptionalCodecsSupport and updating as, there is no
optional codec supported by remote, although remote supports other
optional codecs. After reconfig(due to Source device codec priority
is different than the remotes codec), although codec selected as
Aptx, still there is no update to frameworks that optional codec
has been supported.

So this fix would take care, whenever codecconfig change callback
comes from stack, it would check whether previous and current codec
is different, then upadte frameworks by calling API
updateOptionalCodecsSupport(), so that it would show, in subsettings
optional codec support is there.

CRs-Fixed: 2464751
Change-Id: Ic2e7b337ee21d0567b6012e3e3169121465714cd
parent 89cad5d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment