Enabling proximity sensor on outgoing call
This commit is contained in:
parent
71833e3e67
commit
412d62cd53
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue