File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,12 +46,10 @@ class CallMediaManager {
4646 // management so CallKit controls activation instead of WebRTC doing it automatically.
4747 void _configure () {
4848 if (Platform .isAndroid) {
49+ // manageAudioFocus: false — Telecom owns audio focus for VoIP calls.
50+ // Dual ownership with AudioSwitch leaves volume stuck in call mode on older MIUI (WT-1429).
4951 AndroidNativeAudioManagement .setAndroidAudioConfiguration (
50- AndroidAudioConfiguration (
51- preferredOutputOrder: _voiceCallOutputOrder,
52- // Telecom owns audio focus; dual ownership leaves volume stuck in call mode on older MIUI (WT-1429).
53- manageAudioFocus: false ,
54- ),
52+ AndroidAudioConfiguration (preferredOutputOrder: _voiceCallOutputOrder, manageAudioFocus: false ),
5553 );
5654 }
5755 if (Platform .isIOS) AppleNativeAudioManagement .setUseManualAudio (true );
You can’t perform that action at this time.
0 commit comments