[fix] AudioManager.setMode(MODE_IN_COMMUNICATION) when entering the LinphoneCall.StreamsRunning

This commit is contained in:
Brieuc Viel 2017-03-14 11:54:46 +01:00
parent c1b143a713
commit 190d50f2f7

View file

@ -1279,6 +1279,7 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
if (state == State.StreamsRunning) {
startBluetooth();
setAudioManagerInCallMode();
if (mIncallWakeLock == null) {
mIncallWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "incall");
}