OSDN Git Service

Add Telephony connection event for call forwarded supp service notice.
authorTyler Gunn <tgunn@google.com>
Wed, 7 Jun 2017 22:42:39 +0000 (15:42 -0700)
committerTyler Gunn <tgunn@google.com>
Wed, 20 Sep 2017 17:02:02 +0000 (10:02 -0700)
Test: Test Harness
Bug: 33761801
Merged-In: I5503232f90b3255df601be3f16443e8ae311a479
Change-Id: I8ffc8079b43c54594e596f29cec641ca051d4796

telephony/java/android/telephony/TelephonyManager.java

index b7a7d8e..4d6e1e4 100644 (file)
@@ -869,6 +869,20 @@ public class TelephonyManager {
     public static final String EVENT_NOTIFY_INTERNATIONAL_CALL_ON_WFC =
             "android.telephony.event.EVENT_NOTIFY_INTERNATIONAL_CALL_ON_WFC";
 
+    /**
+     * {@link android.telecom.Connection} event used to indicate that an outgoing call has been
+     * forwarded to another number.
+     * <p>
+     * Sent in response to an IMS supplementary service notification indicating the call has been
+     * forwarded.
+     * <p>
+     * Sent via {@link android.telecom.Connection#sendConnectionEvent(String, Bundle)}.
+     * The {@link Bundle} parameter is expected to be null when this connection event is used.
+     * @hide
+     */
+    public static final String EVENT_CALL_FORWARDED =
+            "android.telephony.event.EVENT_CALL_FORWARDED";
+
     /* Visual voicemail protocols */
 
     /**