summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
diff options
context:
space:
mode:
authorBenergy Meenan Ravuri <bravuri@codeaurora.org>2015-09-29 20:06:18 +0530
committerDeepak Kundra <deepakkundra@gmail.com>2016-02-01 11:30:32 -0800
commitb1269e8342beb4e0e074bc0ea6d274ac31ec934d (patch)
tree9bbf73f86d1da3da3ff06a6e5a400898b7743b1e /telephony/java/com
parentd1d7f3b81443e18060e2c67c1abcd43d2f7a03c0 (diff)
downloadframeworks_base-b1269e8342beb4e0e074bc0ea6d274ac31ec934d.zip
frameworks_base-b1269e8342beb4e0e074bc0ea6d274ac31ec934d.tar.gz
frameworks_base-b1269e8342beb4e0e074bc0ea6d274ac31ec934d.tar.bz2
IMS: Fix video call forwarding options issue
Service class received from the lower layers is not getting updated properly. Change-Id: Ic80d56efedd791e3909f51efca63770346049814 CRs-Fixed: 901774
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/ims/ImsCallForwardInfo.java5
-rw-r--r--telephony/java/com/android/ims/internal/IImsUt.aidl5
2 files changed, 10 insertions, 0 deletions
diff --git a/telephony/java/com/android/ims/ImsCallForwardInfo.java b/telephony/java/com/android/ims/ImsCallForwardInfo.java
index 3f8fd19..97dcbd5 100644
--- a/telephony/java/com/android/ims/ImsCallForwardInfo.java
+++ b/telephony/java/com/android/ims/ImsCallForwardInfo.java
@@ -31,6 +31,8 @@ public class ImsCallForwardInfo implements Parcelable {
public int mStatus;
// 0x91: International, 0x81: Unknown
public int mToA;
+ // Service class
+ public int mServiceClass;
// Number (it will not include the "sip" or "tel" URI scheme)
public String mNumber;
// No reply timer for CF
@@ -53,6 +55,7 @@ public class ImsCallForwardInfo implements Parcelable {
out.writeInt(mCondition);
out.writeInt(mStatus);
out.writeInt(mToA);
+ out.writeInt(mServiceClass);
out.writeString(mNumber);
out.writeInt(mTimeSeconds);
}
@@ -62,6 +65,7 @@ public class ImsCallForwardInfo implements Parcelable {
return super.toString() + ", Condition: " + mCondition
+ ", Status: " + ((mStatus == 0) ? "disabled" : "enabled")
+ ", ToA: " + mToA + ", Number=" + mNumber
+ + ", Service Class: " + mServiceClass
+ ", Time (seconds): " + mTimeSeconds;
}
@@ -69,6 +73,7 @@ public class ImsCallForwardInfo implements Parcelable {
mCondition = in.readInt();
mStatus = in.readInt();
mToA = in.readInt();
+ mServiceClass = in.readInt();
mNumber = in.readString();
mTimeSeconds = in.readInt();
}
diff --git a/telephony/java/com/android/ims/internal/IImsUt.aidl b/telephony/java/com/android/ims/internal/IImsUt.aidl
index 4ab5ee3..2784653 100644
--- a/telephony/java/com/android/ims/internal/IImsUt.aidl
+++ b/telephony/java/com/android/ims/internal/IImsUt.aidl
@@ -111,4 +111,9 @@ interface IImsUt {
* Sets the listener.
*/
void setListener(in IImsUtListener listener);
+
+ /**
+ * Retrieves the configuration of the call forward for specified service class.
+ */
+ int queryCFForServiceClass(int condition, String number, int serviceClass);
}