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

Skip to content
Commit 43d1e9ec authored by Hall Liu's avatar Hall Liu
Browse files

Fix weird race condition in BT manager

When switching from one BT device to another, sometimes we'll get the
signal that the second device connected right after the first device
disconnected. The transition to the AudioOff state from the
disconnection will sometimes happen at the exact right time so as to
disconnect the second device as well.
This change removes the code that disconnects all remaining devices when
transitioning into AudioOff since it's not actually useful for anything
except creating bugs.

Change-Id: Ieb0a87cc4db990aaa7d9de65d643ade4d9835068
Fixes: 112285293
Test: unit tests
parent fea1c0db
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