Loading src/com/android/server/telecom/NewOutgoingCallIntentBroadcaster.java +1 −20 Original line number Diff line number Diff line Loading @@ -239,7 +239,7 @@ class NewOutgoingCallIntentBroadcaster { return DisconnectCause.INVALID_NUMBER; } if (!processAddParticipant(intent, number) && callImmediately) { if (callImmediately) { Log.i(this, "Placing call immediately instead of waiting for " + " OutgoingCallBroadcastReceiver: %s", intent); String scheme = isUriNumber ? PhoneAccount.SCHEME_SIP : PhoneAccount.SCHEME_TEL; Loading @@ -261,25 +261,6 @@ class NewOutgoingCallIntentBroadcaster { return DisconnectCause.NOT_DISCONNECTED; } private boolean processAddParticipant(Intent intent, String handle) { boolean ret = false; boolean isUriNumber = PhoneNumberUtils.isUriNumber(handle); if (intent.getBooleanExtra(TelephonyProperties.ADD_PARTICIPANT_KEY, false)) { String scheme = isUriNumber ? PhoneAccount.SCHEME_SIP : PhoneAccount.SCHEME_TEL; boolean speakerphoneOn = mIntent.getBooleanExtra( TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, false); int videoState = mIntent.getIntExtra( TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, VideoProfile.VideoState.AUDIO_ONLY); mCallsManager.addParticipant(mCall, Uri.fromParts(scheme, handle, null), null, speakerphoneOn, videoState); ret = true; } Log.d(this, "processAddParticipant return = " + ret); return ret; } /** * Sends a new outgoing call ordered broadcast so that third party apps can cancel the * placement of the call or redirect it to a different number. Loading Loading
src/com/android/server/telecom/NewOutgoingCallIntentBroadcaster.java +1 −20 Original line number Diff line number Diff line Loading @@ -239,7 +239,7 @@ class NewOutgoingCallIntentBroadcaster { return DisconnectCause.INVALID_NUMBER; } if (!processAddParticipant(intent, number) && callImmediately) { if (callImmediately) { Log.i(this, "Placing call immediately instead of waiting for " + " OutgoingCallBroadcastReceiver: %s", intent); String scheme = isUriNumber ? PhoneAccount.SCHEME_SIP : PhoneAccount.SCHEME_TEL; Loading @@ -261,25 +261,6 @@ class NewOutgoingCallIntentBroadcaster { return DisconnectCause.NOT_DISCONNECTED; } private boolean processAddParticipant(Intent intent, String handle) { boolean ret = false; boolean isUriNumber = PhoneNumberUtils.isUriNumber(handle); if (intent.getBooleanExtra(TelephonyProperties.ADD_PARTICIPANT_KEY, false)) { String scheme = isUriNumber ? PhoneAccount.SCHEME_SIP : PhoneAccount.SCHEME_TEL; boolean speakerphoneOn = mIntent.getBooleanExtra( TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, false); int videoState = mIntent.getIntExtra( TelecomManager.EXTRA_START_CALL_WITH_VIDEO_STATE, VideoProfile.VideoState.AUDIO_ONLY); mCallsManager.addParticipant(mCall, Uri.fromParts(scheme, handle, null), null, speakerphoneOn, videoState); ret = true; } Log.d(this, "processAddParticipant return = " + ret); return ret; } /** * Sends a new outgoing call ordered broadcast so that third party apps can cancel the * placement of the call or redirect it to a different number. Loading