summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sumit Das <sumidas@codeaurora.org> 2018-06-22 16:08:57 -0700
committer Sumit Das <sumidas@codeaurora.org> 2018-06-22 16:08:57 -0700
commit0c7adfae2a86821d9792e732e09d28220cddbe56 (patch)
tree70683387f2156d65e80d354206f91f55c904b361
parenta0b9309ba2724e29c7e204dc84e5c50fe3431d98 (diff)
ImsMultiEndPoint - Sip Notify Change
-Propagate the local-identity field to AOSP to help differentiate between local calls and calls on secondary devices Change-Id: I78c8f721dcffa167c7d65c474f13a8a377e4cd39
-rw-r--r--telephony/java/android/telephony/ims/ImsExternalCallState.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/ims/ImsExternalCallState.java b/telephony/java/android/telephony/ims/ImsExternalCallState.java
index e82c115cb4b3..d03c7e1da5fa 100644
--- a/telephony/java/android/telephony/ims/ImsExternalCallState.java
+++ b/telephony/java/android/telephony/ims/ImsExternalCallState.java
@@ -45,6 +45,7 @@ public final class ImsExternalCallState implements Parcelable {
private int mCallId;
// Number
private Uri mAddress;
+ private Uri mLocalAddress;
private boolean mIsPullable;
// CALL_STATE_CONFIRMED / CALL_STATE_TERMINATED
private int mCallState;
@@ -69,6 +70,19 @@ public final class ImsExternalCallState implements Parcelable {
}
/** @hide */
+ public ImsExternalCallState(int callId, Uri address, Uri localAddress,
+ boolean isPullable, int callState, int callType, boolean isCallheld) {
+ mCallId = callId;
+ mAddress = address;
+ mLocalAddress = localAddress;
+ mIsPullable = isPullable;
+ mCallState = callState;
+ mCallType = callType;
+ mIsHeld = isCallheld;
+ Rlog.d(TAG, "ImsExternalCallState = " + this);
+ }
+
+ /** @hide */
public ImsExternalCallState(Parcel in) {
mCallId = in.readInt();
ClassLoader classLoader = ImsExternalCallState.class.getClassLoader();