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

Commit 866b1bbc authored by Myles Watson's avatar Myles Watson
Browse files

BtHelper: Do not broadcast on CONNECTING

Bug: 145575361
Test: 1. connect to the Teams meeting when BT connected
      2. switch to the earpiece
      3. switch back to BT
Change-Id: I3fba738289f6ed362e5be67bf37cd5fd4a22474e
parent d4e90d2e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -295,6 +295,7 @@ public class BtHelper {
                            && mScoAudioState != SCO_STATE_DEACTIVATE_REQ) {
                        mScoAudioState = SCO_STATE_ACTIVE_EXTERNAL;
                    }
                    broadcast = false;
                    break;
                default:
                    // do not broadcast CONNECTING or invalid state