Loading telecomm/java/android/telecom/Call.java +3 −3 Original line number Diff line number Diff line Loading @@ -484,10 +484,10 @@ public final class Call { /** * Notifies this {@code Call} that an account has been selected and to proceed with placing * an outgoing call. * an outgoing call. Optionally sets this account as the default account. */ public void phoneAccountSelected(PhoneAccountHandle accountHandle) { mInCallAdapter.phoneAccountSelected(mTelecomCallId, accountHandle); public void phoneAccountSelected(PhoneAccountHandle accountHandle, boolean setDefault) { mInCallAdapter.phoneAccountSelected(mTelecomCallId, accountHandle, setDefault); } Loading telecomm/java/android/telecom/InCallAdapter.java +7 −5 Original line number Diff line number Diff line Loading @@ -189,14 +189,16 @@ public final class InCallAdapter { } /** * Instructs Telecom to add a PhoneAccountHandle to the specified call * Instructs Telecom to add a PhoneAccountHandle to the specified call. * * @param callId The identifier of the call * @param accountHandle The PhoneAccountHandle through which to place the call * @param callId The identifier of the call. * @param accountHandle The PhoneAccountHandle through which to place the call. * @param setDefault {@code True} if this account should be set as the default for calls. */ public void phoneAccountSelected(String callId, PhoneAccountHandle accountHandle) { public void phoneAccountSelected(String callId, PhoneAccountHandle accountHandle, boolean setDefault) { try { mAdapter.phoneAccountSelected(callId, accountHandle); mAdapter.phoneAccountSelected(callId, accountHandle, setDefault); } catch (RemoteException e) { } } Loading telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl +2 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,8 @@ oneway interface IInCallAdapter { void postDialContinue(String callId, boolean proceed); void phoneAccountSelected(String callId, in PhoneAccountHandle accountHandle); void phoneAccountSelected(String callId, in PhoneAccountHandle accountHandle, boolean setDefault); void conference(String callId, String otherCallId); Loading Loading
telecomm/java/android/telecom/Call.java +3 −3 Original line number Diff line number Diff line Loading @@ -484,10 +484,10 @@ public final class Call { /** * Notifies this {@code Call} that an account has been selected and to proceed with placing * an outgoing call. * an outgoing call. Optionally sets this account as the default account. */ public void phoneAccountSelected(PhoneAccountHandle accountHandle) { mInCallAdapter.phoneAccountSelected(mTelecomCallId, accountHandle); public void phoneAccountSelected(PhoneAccountHandle accountHandle, boolean setDefault) { mInCallAdapter.phoneAccountSelected(mTelecomCallId, accountHandle, setDefault); } Loading
telecomm/java/android/telecom/InCallAdapter.java +7 −5 Original line number Diff line number Diff line Loading @@ -189,14 +189,16 @@ public final class InCallAdapter { } /** * Instructs Telecom to add a PhoneAccountHandle to the specified call * Instructs Telecom to add a PhoneAccountHandle to the specified call. * * @param callId The identifier of the call * @param accountHandle The PhoneAccountHandle through which to place the call * @param callId The identifier of the call. * @param accountHandle The PhoneAccountHandle through which to place the call. * @param setDefault {@code True} if this account should be set as the default for calls. */ public void phoneAccountSelected(String callId, PhoneAccountHandle accountHandle) { public void phoneAccountSelected(String callId, PhoneAccountHandle accountHandle, boolean setDefault) { try { mAdapter.phoneAccountSelected(callId, accountHandle); mAdapter.phoneAccountSelected(callId, accountHandle, setDefault); } catch (RemoteException e) { } } Loading
telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl +2 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,8 @@ oneway interface IInCallAdapter { void postDialContinue(String callId, boolean proceed); void phoneAccountSelected(String callId, in PhoneAccountHandle accountHandle); void phoneAccountSelected(String callId, in PhoneAccountHandle accountHandle, boolean setDefault); void conference(String callId, String otherCallId); Loading