summaryrefslogtreecommitdiff
path: root/telephony/java/com/android/ims/ImsUtInterface.java
diff options
context:
space:
mode:
authorpengfeix <pengfeix@codeaurora.org>2017-04-15 23:16:12 +0800
committerpengfei xiao <pengfeix@codeaurora.org>2018-03-30 18:52:37 +0800
commitbd9cf845cb6484b976445dbcf03e2194c6fcc35d (patch)
treeec04e7cade49ac7df8945772ba372849b0d48a9f /telephony/java/com/android/ims/ImsUtInterface.java
parentd8f065880ce96f04a6aeb15bfe0c5c082381e5ad (diff)
IMS: Add UT interface to query CF setting for service class.
Current interface does not take any service class argument. Add a new API for querying call forward status based on service class. This can be useful to query call forwarding information for video calls differently from voice calls. Change-Id: I62904ba59ec2d9175f0e131582d758caec57cc0c CRs-Fixed: 2214326
Diffstat (limited to 'telephony/java/com/android/ims/ImsUtInterface.java')
-rw-r--r--telephony/java/com/android/ims/ImsUtInterface.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/telephony/java/com/android/ims/ImsUtInterface.java b/telephony/java/com/android/ims/ImsUtInterface.java
index c9d440551631..3abc7c6c5081 100644
--- a/telephony/java/com/android/ims/ImsUtInterface.java
+++ b/telephony/java/com/android/ims/ImsUtInterface.java
@@ -124,6 +124,12 @@ public interface ImsUtInterface {
public void queryCallForward(int condition, String number, Message result);
/**
+ * Retrieves the configuration of the call forward for the specified service class.
+ * The return value of ((AsyncResult)result.obj) is an array of {@link ImsCallForwardInfo}.
+ */
+ public void queryCallForward(int condition, String number,
+ int serviceClass, Message result);
+ /**
* Retrieves the configuration of the call waiting.
* The return value of ((AsyncResult)result.obj) is an array of {@link ImsSsInfo}.
*/