summaryrefslogtreecommitdiff
path: root/telephony/java/com/android/ims/ImsUtInterface.java
diff options
context:
space:
mode:
authorSuresh Koleti <skoleti@codeaurora.org>2017-07-29 10:16:43 +0530
committerSuresh Koleti <skoleti@codeaurora.org>2017-12-06 21:00:24 +0530
commit0c22feffaa97e51c90be5b695a97517dcedcb314 (patch)
treefa7fd148e226d07047ad421e88b4f9289045b25c /telephony/java/com/android/ims/ImsUtInterface.java
parenta0c52a8acec8714917c52fdb72d514895feaa4c3 (diff)
IMS: Add support for STK CC feature
-- Add interface in IImsUtListener to get data for UNSOL_ON_SS. -- Add new file ImsSsData to store the data received as part of UNSOL_ON_SS. -- Add approprate error codes and strings to support to show error dialogs to user. -- Add ImsUtInterface API's to indicate UNSOL_ON_SS to ImsPhoneCallTracker. Test: Manual Bug: 64685331 Change-Id: I023c1af0d521e5b19ecce1576c4caa299ae468e3
Diffstat (limited to 'telephony/java/com/android/ims/ImsUtInterface.java')
-rw-r--r--telephony/java/com/android/ims/ImsUtInterface.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/telephony/java/com/android/ims/ImsUtInterface.java b/telephony/java/com/android/ims/ImsUtInterface.java
index 250371f0f5c2..14c184a64061 100644
--- a/telephony/java/com/android/ims/ImsUtInterface.java
+++ b/telephony/java/com/android/ims/ImsUtInterface.java
@@ -16,6 +16,7 @@
package com.android.ims;
+import android.os.Handler;
import android.os.Message;
/**
@@ -188,4 +189,18 @@ public interface ImsUtInterface {
* Updates the configuration of the COLP supplementary service.
*/
public void updateCOLP(boolean enable, Message result);
+
+ /**
+ * Register for UNSOL_ON_SS indications.
+ * @param handler the {@link Handler} that is notified when there is an ss indication.
+ * @param event Supplimentary service indication event.
+ * @param Object user object.
+ */
+ public void registerForSuppServiceIndication(Handler handler, int event, Object object);
+
+ /**
+ * Deregister for UNSOL_ON_SS indications.
+ * @param handler the {@link Handler} that is notified when there is an ss indication.
+ */
+ public void unregisterForSuppServiceIndication(Handler handler);
}