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

Commit d35d555f authored by Chen Chen's avatar Chen Chen Committed by Gerrit Code Review
Browse files

Merge "BluetoothInCallService: Patch on hangup, call reject() instead of...

Merge "BluetoothInCallService: Patch on hangup, call reject() instead of disconnect() for ringing calls"
parents 294297c6 e8ce1dd9
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -354,7 +354,11 @@ public class BluetoothInCallService extends InCallService {
                Log.i(TAG, "BT - hanging up conference call");
                call = conferenceCall;
            }
            if (call.getState() == Call.STATE_RINGING) {
                call.reject(false, "");
            } else {
                call.disconnect();
            }
            return true;
        }
    }