Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14dc4801 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "IMS-VT: Set speaker phone to true only if bluetooth or headset is not connected"

parents a93eb988 95084e9f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -649,7 +649,9 @@ public final class CallsManager extends Call.ListenerBase {
            // We do not update the UI until we get confirmation of the answer() through
            // {@link #markCallAsActive}.
            call.answer(videoState);
            if (VideoProfile.VideoState.isVideo(videoState)) {
            if (VideoProfile.VideoState.isVideo(videoState) &&
                !mWiredHeadsetManager.isPluggedIn() &&
                !mCallAudioManager.isBluetoothDeviceAvailable()) {
                call.setStartWithSpeakerphoneOn(true);
            }
        }