summaryrefslogtreecommitdiff
path: root/telecomm
diff options
context:
space:
mode:
author Roopa Sattiraju <sattiraju@google.com> 2022-01-30 13:35:59 -0800
committer Roopa Sattiraju <sattiraju@google.com> 2022-02-01 12:33:47 -0800
commit98c76c40e39e6ae9b9bb11c396b926241febc7b5 (patch)
tree723ea5cb0e49623de52fba3f0a285f89694f45e3 /telecomm
parent1b5c45c7fc76a597baf4a127935f6762729c843d (diff)
Adding SystemApi for remaining Telecomm errors
Bug: 206121418 Test: Compile apex Change-Id: I7a8511f48b2e243569cd38e13501124a5b1bb5b2
Diffstat (limited to 'telecomm')
-rw-r--r--telecomm/java/android/telecom/TelecomManager.java14
1 files changed, 9 insertions, 5 deletions
diff --git a/telecomm/java/android/telecom/TelecomManager.java b/telecomm/java/android/telecom/TelecomManager.java
index e560f34cfcd8..d7cdb507362a 100644
--- a/telecomm/java/android/telecom/TelecomManager.java
+++ b/telecomm/java/android/telecom/TelecomManager.java
@@ -356,13 +356,17 @@ public class TelecomManager {
"android.telecom.extra.INCOMING_CALL_EXTRAS";
/**
- * Optional extra for {@link #ACTION_INCOMING_CALL} containing a boolean to indicate that the
- * call has an externally generated ringer. Used by the HfpClientConnectionService when In Band
- * Ringtone is enabled to prevent two ringers from being generated.
+ * Optional extra for {@link #addNewIncomingCall(PhoneAccountHandle, Bundle)} used to indicate
+ * that a call has an in-band ringtone associated with it. This is used when the device is
+ * acting as an HFP headset and the Bluetooth stack has received an in-band ringtone from the
+ * the HFP host which must be played instead of any local ringtone the device would otherwise
+ * have generated.
+ *
* @hide
*/
- public static final String EXTRA_CALL_EXTERNAL_RINGER =
- "android.telecom.extra.CALL_EXTERNAL_RINGER";
+ @SystemApi
+ public static final String EXTRA_CALL_HAS_IN_BAND_RINGTONE =
+ "android.telecom.extra.CALL_HAS_IN_BAND_RINGTONE";
/**
* Optional extra for {@link android.content.Intent#ACTION_CALL} and