Loading src/com/android/server/telecom/CallsManager.java +5 −0 Original line number Diff line number Diff line Loading @@ -723,6 +723,11 @@ public class CallsManager extends Call.ListenerBase implements VideoProviderProx // If the account has been set, proceed to place the outgoing call. // Otherwise the connection will be initiated when the account is set by the user. call.startCreateConnection(mPhoneAccountRegistrar); } else if (mPhoneAccountRegistrar.getCallCapablePhoneAccounts(null, false).isEmpty()) { // If there are no call capable accounts, disconnect the call. markCallAsDisconnected(call, new DisconnectCause(DisconnectCause.CANCELED, "No registered PhoneAccounts")); markCallAsRemoved(call); } } Loading Loading
src/com/android/server/telecom/CallsManager.java +5 −0 Original line number Diff line number Diff line Loading @@ -723,6 +723,11 @@ public class CallsManager extends Call.ListenerBase implements VideoProviderProx // If the account has been set, proceed to place the outgoing call. // Otherwise the connection will be initiated when the account is set by the user. call.startCreateConnection(mPhoneAccountRegistrar); } else if (mPhoneAccountRegistrar.getCallCapablePhoneAccounts(null, false).isEmpty()) { // If there are no call capable accounts, disconnect the call. markCallAsDisconnected(call, new DisconnectCause(DisconnectCause.CANCELED, "No registered PhoneAccounts")); markCallAsRemoved(call); } } Loading