summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Tyler Gunn <tgunn@google.com> 2018-10-11 13:40:57 -0700
committer android-build-merger <android-build-merger@google.com> 2018-10-11 13:40:57 -0700
commitf17f1d7cdc542ea178c9af567c104f8ba67bc01b (patch)
treed7d6eaf25cad65928b147a920f417f7bcc3e102a
parent11e9a86034d43677f11d96108c9f4a323c4c40ed (diff)
parent5674805cda4820bd2ad8df3b30ab5e7d00153c3e (diff)
Merge "Update PROPERTY_HIGH_DEF_AUDIO API docs."
am: 5674805cda Change-Id: I4ebe0542fc233f992e123f1715621855e253bf14
-rw-r--r--telecomm/java/android/telecom/Call.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/telecomm/java/android/telecom/Call.java b/telecomm/java/android/telecom/Call.java
index 08bc9bcc4003..daa09f574651 100644
--- a/telecomm/java/android/telecom/Call.java
+++ b/telecomm/java/android/telecom/Call.java
@@ -397,7 +397,19 @@ public final class Call {
public static final int PROPERTY_WIFI = 0x00000008;
/**
- * Call is using high definition audio.
+ * When set, the UI should indicate to the user that a call is using high definition
+ * audio.
+ * <p>
+ * The underlying {@link ConnectionService} is responsible for reporting this
+ * property. It is important to note that this property is not intended to report the
+ * actual audio codec being used for a Call, but whether the call should be indicated
+ * to the user as high definition.
+ * <p>
+ * The Android Telephony stack reports this property for calls based on a number
+ * of factors, including which audio codec is used and whether a call is using an HD
+ * codec end-to-end. Some mobile operators choose to suppress display of an HD indication,
+ * and in these cases this property will not be set for a call even if the underlying audio
+ * codec is in fact "high definition".
*/
public static final int PROPERTY_HIGH_DEF_AUDIO = 0x00000010;