diff options
Diffstat (limited to 'src/com/android/services/telephony/TelephonyConnectionService.java')
-rw-r--r-- | src/com/android/services/telephony/TelephonyConnectionService.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/services/telephony/TelephonyConnectionService.java b/src/com/android/services/telephony/TelephonyConnectionService.java index 8de5ad0aa5..54a27b94ad 100644 --- a/src/com/android/services/telephony/TelephonyConnectionService.java +++ b/src/com/android/services/telephony/TelephonyConnectionService.java @@ -1444,6 +1444,11 @@ public class TelephonyConnectionService extends ConnectionService { "Invalid phone type", phone.getPhoneId())); } + if (!Objects.equals(request.getAccountHandle(), accountHandle)) { + Log.i(this, "onCreateOutgoingConnection, update phoneAccountHandle, accountHandle = " + + accountHandle); + connection.setPhoneAccountHandle(accountHandle); + } connection.setAddress(handle, PhoneConstants.PRESENTATION_ALLOWED); connection.setTelephonyConnectionInitializing(); connection.setTelephonyVideoState(request.getVideoState()); |