diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2022-12-08 17:11:47 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-12-08 17:11:47 +0000 |
commit | a1b9c803b093836a28a162c7f52f15c606a686cc (patch) | |
tree | 2ba6cb1ad699cabd3f0870cc39a7595b8e728b8e | |
parent | 917fdc6257bfe2eea2303e4e763d142bed494529 (diff) | |
parent | ef4570d8a041caa19a8776fdfbfcd9124012e0bd (diff) |
Merge "Fix the incorrect display of the phone account info for an ecall" into tm-qpr-dev
-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 071376dfa5..0be7ba2623 100644 --- a/src/com/android/services/telephony/TelephonyConnectionService.java +++ b/src/com/android/services/telephony/TelephonyConnectionService.java @@ -1133,6 +1133,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()); |