Merge "return cached value for call id instead of calling AIDL" into udc-dev am: c610a9e935 am: e3abe8de8b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21553959

Change-Id: Id5f423a6233558939d8240ba8a5ad9ff636aed03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Hakjun Choi
2023-02-25 09:07:27 +00:00
committed by Automerger Merge Worker

View File

@@ -584,6 +584,7 @@ public class ImsCallSession {
* Gets the call ID of the session.
*
* @return the call ID
* If null is returned for getCallId, then that means that the call ID has not been set yet.
*/
public String getCallId() {
if (mClosed) {
@@ -1779,7 +1780,7 @@ public class ImsCallSession {
sb.append("[ImsCallSession objId:");
sb.append(System.identityHashCode(this));
sb.append(" callId:");
sb.append(getCallId());
sb.append(mCallId != null ? mCallId : "[UNINITIALIZED]");
sb.append("]");
return sb.toString();
}