Enabling proximity sensor on outgoing call

This commit is contained in:
Erwan Croze 2017-04-07 10:53:16 +02:00
parent 71833e3e67
commit 412d62cd53

View file

@ -1364,6 +1364,7 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
setAudioManagerInCallMode(); setAudioManagerInCallMode();
requestAudioFocus(STREAM_VOICE_CALL); requestAudioFocus(STREAM_VOICE_CALL);
startBluetooth(); startBluetooth();
enableProximitySensing(true);
} }
if (state == State.StreamsRunning) { if (state == State.StreamsRunning) {