summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/Connection.java
diff options
context:
space:
mode:
Diffstat (limited to 'telecomm/java/android/telecom/Connection.java')
-rw-r--r--telecomm/java/android/telecom/Connection.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java
index 165349216d44..8b7299fa890f 100644
--- a/telecomm/java/android/telecom/Connection.java
+++ b/telecomm/java/android/telecom/Connection.java
@@ -525,6 +525,13 @@ public abstract class Connection extends Conferenceable {
*/
public static final String EXTRA_CALL_PROPERTY =
"android.telecom.extra.EXTRA_CALL_PROPERTY";
+ /**
+ * Boolean connection extra key set on the extras passed to
+ * {@link Connection#sendConnectionEvent} which indicates that audio is present
+ * on the RTT call when the extra value is true.
+ */
+ public static final String EXTRA_IS_RTT_AUDIO_PRESENT =
+ "android.telecom.extra.IS_RTT_AUDIO_PRESENT";
/**
* Connection event used to inform Telecom that it should play the on hold tone. This is used
@@ -648,6 +655,12 @@ public abstract class Connection extends Conferenceable {
*/
public static final String EVENT_CALL_PROPERTY_CHANGED =
"android.telecom.event.EVENT_CALL_PROPERTY_CHANGED";
+ /**
+ * Connection event used to inform an {@link InCallService} that the RTT audio indication
+ * has changed.
+ */
+ public static final String EVENT_RTT_AUDIO_INDICATION_CHANGED =
+ "android.telecom.event.RTT_AUDIO_INDICATION_CHANGED";
// Flag controlling whether PII is emitted into the logs
private static final boolean PII_DEBUG = Log.isLoggable(android.util.Log.DEBUG);