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

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

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

View File

@@ -584,6 +584,7 @@ public class ImsCallSession {
* Gets the call ID of the session. * Gets the call ID of the session.
* *
* @return the call ID * @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() { public String getCallId() {
if (mClosed) { if (mClosed) {
@@ -1779,7 +1780,7 @@ public class ImsCallSession {
sb.append("[ImsCallSession objId:"); sb.append("[ImsCallSession objId:");
sb.append(System.identityHashCode(this)); sb.append(System.identityHashCode(this));
sb.append(" callId:"); sb.append(" callId:");
sb.append(getCallId()); sb.append(mCallId != null ? mCallId : "[UNINITIALIZED]");
sb.append("]"); sb.append("]");
return sb.toString(); return sb.toString();
} }