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

Skip to content
Commit 7bc598f4 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov
Browse files

Update A2dpService.connect() to check correctly for A2DP Sink UUID

Previously, the A2DP Sink UUID check was applied only if the
remote device contained A2DP Source UUID as well.

Also:
 - Use AdapterService to obtain the UUIDs of a device.
   This makes it easier to write UUID-related unit tests.
 - Added a new unit test.

Bug: 73207565
Test: Manual. New unit test added:
runtest bluetooth --test-class com.android.bluetooth.a2dp.A2dpServiceTest \
                  --test-method testOutgoingConnectMissingAudioSinkUuid
Change-Id: I651a6b176956042681834cba0ff74819bee3e73e
parent 3de1208d
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