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

Commit 3a8f4362 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 7579381 from 925370d0 to sc-d1-release

Change-Id: Ie69a05992a7ae177d0b29d9144dc18788fde3b23
parents 503e0f62 925370d0
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -733,11 +733,14 @@ public class BluetoothInCallService extends InCallService {
                return false;
            }
            if (!mCallInfo.isNullCall(activeCall)) {
                BluetoothCall conferenceCall = getBluetoothCallById(activeCall.getParentId());
                if (!mCallInfo.isNullCall(conferenceCall)
                        && conferenceCall.getState() == Call.STATE_ACTIVE) {
                    Log.i(TAG, "CHLD: disconnect conference call");
                    conferenceCall.disconnect();
                } else {
                    activeCall.disconnect();
                if (!mCallInfo.isNullCall(ringingCall)) {
                    ringingCall.answer(VideoProfile.STATE_AUDIO_ONLY);
                }
                return true;
            }
            if (!mCallInfo.isNullCall(ringingCall)) {
                ringingCall.answer(ringingCall.getVideoState());