Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ab408fbe authored by Yuyang Huang's avatar Yuyang Huang
Browse files

fix mix-use of tBTA_AG_PEER_CODEC between BTM_SCO_CODEC_XXX and UUID_CODEC_XXX

Previously, tBTA_AG_PEER_CODEC is a uint type that used for both BTM_SCO_CODEC_XXX (in bit mask format) and UUID_CODEC_XXX (in index format).
Because 1 and 2 in bitmask and indexed value are the same, there are mixed use between BTM_SCO_CODEC and UUID_CODEC
Now separate the UUID_CODEC_XXX index format out to a different type to avoid mis-use.

Bug: 323409386
Bug: 315234036
Flag: Exempt, no value change
Test: atest bta_net_test
Change-Id: Ia73d4bcaf891ecd03496269e3c9793ed33c09892
parent fe41274b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment