Loading src/com/android/server/telecom/Call.java +4 −8 Original line number Diff line number Diff line Loading @@ -551,8 +551,6 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, CallsManager callsManager, TelecomSystem.SyncRoot lock, ConnectionServiceRepository repository, ContactsAsyncHelper contactsAsyncHelper, CallerInfoAsyncQueryFactory callerInfoAsyncQueryFactory, PhoneNumberUtilsAdapter phoneNumberUtilsAdapter, Uri handle, GatewayInfo gatewayInfo, Loading Loading @@ -609,8 +607,6 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, CallsManager callsManager, TelecomSystem.SyncRoot lock, ConnectionServiceRepository repository, ContactsAsyncHelper contactsAsyncHelper, CallerInfoAsyncQueryFactory callerInfoAsyncQueryFactory, PhoneNumberUtilsAdapter phoneNumberUtilsAdapter, Uri handle, GatewayInfo gatewayInfo, Loading @@ -622,8 +618,8 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, long connectTimeMillis, long connectElapsedTimeMillis, ClockProxy clockProxy) { this(callId, context, callsManager, lock, repository, contactsAsyncHelper, callerInfoAsyncQueryFactory, phoneNumberUtilsAdapter, handle, gatewayInfo, this(callId, context, callsManager, lock, repository, phoneNumberUtilsAdapter, handle, gatewayInfo, connectionManagerPhoneAccountHandle, targetPhoneAccountHandle, callDirection, shouldAttachToExistingConnection, isConference, clockProxy); Loading src/com/android/server/telecom/CallIntentProcessor.java +15 −4 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ import android.os.UserHandle; import android.os.UserManager; import android.telecom.DefaultDialerManager; import android.telecom.Log; import android.telecom.Logging.Session; import android.telecom.PhoneAccount; import android.telecom.PhoneAccountHandle; import android.telecom.TelecomManager; Loading @@ -19,6 +20,8 @@ import android.telephony.DisconnectCause; import android.telephony.PhoneNumberUtils; import android.widget.Toast; import java.util.concurrent.CompletableFuture; /** * Single point of entry for all outgoing and incoming calls. * {@link com.android.server.telecom.components.UserCallIntentProcessor} serves as a trampoline that Loading Loading @@ -146,13 +149,21 @@ public class CallIntentProcessor { UserHandle initiatingUser = intent.getParcelableExtra(KEY_INITIATING_USER); // Send to CallsManager to ensure the InCallUI gets kicked off before the broadcast returns Call call = callsManager CompletableFuture<Call> callFuture = callsManager .startOutgoingCall(handle, phoneAccountHandle, clientExtras, initiatingUser, intent, callingPackage); final Session logSubsession = Log.createSubsession(); callFuture.thenAccept((call) -> { if (call != null) { Log.continueSession(logSubsession, "CIP.sNOCI"); try { sendNewOutgoingCallIntent(context, call, callsManager, intent); } finally { Log.endSession(); } } }); } static void sendNewOutgoingCallIntent(Context context, Call call, CallsManager callsManager, Loading Loading
src/com/android/server/telecom/Call.java +4 −8 Original line number Diff line number Diff line Loading @@ -551,8 +551,6 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, CallsManager callsManager, TelecomSystem.SyncRoot lock, ConnectionServiceRepository repository, ContactsAsyncHelper contactsAsyncHelper, CallerInfoAsyncQueryFactory callerInfoAsyncQueryFactory, PhoneNumberUtilsAdapter phoneNumberUtilsAdapter, Uri handle, GatewayInfo gatewayInfo, Loading Loading @@ -609,8 +607,6 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, CallsManager callsManager, TelecomSystem.SyncRoot lock, ConnectionServiceRepository repository, ContactsAsyncHelper contactsAsyncHelper, CallerInfoAsyncQueryFactory callerInfoAsyncQueryFactory, PhoneNumberUtilsAdapter phoneNumberUtilsAdapter, Uri handle, GatewayInfo gatewayInfo, Loading @@ -622,8 +618,8 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, long connectTimeMillis, long connectElapsedTimeMillis, ClockProxy clockProxy) { this(callId, context, callsManager, lock, repository, contactsAsyncHelper, callerInfoAsyncQueryFactory, phoneNumberUtilsAdapter, handle, gatewayInfo, this(callId, context, callsManager, lock, repository, phoneNumberUtilsAdapter, handle, gatewayInfo, connectionManagerPhoneAccountHandle, targetPhoneAccountHandle, callDirection, shouldAttachToExistingConnection, isConference, clockProxy); Loading
src/com/android/server/telecom/CallIntentProcessor.java +15 −4 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ import android.os.UserHandle; import android.os.UserManager; import android.telecom.DefaultDialerManager; import android.telecom.Log; import android.telecom.Logging.Session; import android.telecom.PhoneAccount; import android.telecom.PhoneAccountHandle; import android.telecom.TelecomManager; Loading @@ -19,6 +20,8 @@ import android.telephony.DisconnectCause; import android.telephony.PhoneNumberUtils; import android.widget.Toast; import java.util.concurrent.CompletableFuture; /** * Single point of entry for all outgoing and incoming calls. * {@link com.android.server.telecom.components.UserCallIntentProcessor} serves as a trampoline that Loading Loading @@ -146,13 +149,21 @@ public class CallIntentProcessor { UserHandle initiatingUser = intent.getParcelableExtra(KEY_INITIATING_USER); // Send to CallsManager to ensure the InCallUI gets kicked off before the broadcast returns Call call = callsManager CompletableFuture<Call> callFuture = callsManager .startOutgoingCall(handle, phoneAccountHandle, clientExtras, initiatingUser, intent, callingPackage); final Session logSubsession = Log.createSubsession(); callFuture.thenAccept((call) -> { if (call != null) { Log.continueSession(logSubsession, "CIP.sNOCI"); try { sendNewOutgoingCallIntent(context, call, callsManager, intent); } finally { Log.endSession(); } } }); } static void sendNewOutgoingCallIntent(Context context, Call call, CallsManager callsManager, Loading