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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user