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

Skip to content
Commit 6ac9d636 authored by Etienne Ruffieux's avatar Etienne Ruffieux
Browse files

Fix AvrcpBipClientTest

AvrcpBipClient starts connecting at initialization, which
means during the test it will fail coonnecting and set the
connection state back to disconnected. Some tests are
setting the state directly and will fail if the connection
failure takes too long.

Added two methods connectAsync and disconnectAsync which
will call the handler and start connecting/disconnecting.
These methods are package-private as there is only one
usage of AvrcpBipClient.
Initializing AvrcpBipClient won't auto connect the device.

Bug: 297490983
Tag: #feature
Test: atest BluetoothInstrumentationTests
Change-Id: Iac68c871393e78b7a93ce149e2012d55c8cf4d41
parent 7e0b6227
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