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

Skip to content
Commit 8877998d authored by William Escande's avatar William Escande
Browse files

Fix profile disable flakiness

The following
```
verify(adapterService).onProfileServiceStateChanged(profile)
assertThat(profile).isNull();
```
can fail because the profile is set to null after the call to
onProfileServiceStateChanged

By adding a verify on `removeProfile` I ensure the `profile.stop()` has
been called

Bug: 257183155
Test: atest BluetoothInstrumentationTests
Change-Id: I5b80b0f08435c911a41e63e9a40516ba8469c9eb
parent 1d1e5b5c
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