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
Loading
Please register or sign in to comment