summaryrefslogtreecommitdiff
path: root/overlay/packages
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2018-01-29 15:58:01 -0800
committerTyler Gunn <tgunn@google.com>2018-01-29 15:58:01 -0800
commitfe99bbcf3e96467a4452d0c9a6a2721dac605663 (patch)
tree1ca30bbf6f76446ad241eb8c4be48e8ce72c7844 /overlay/packages
parent7cde8a52f21a59a4ce9abf0affc2302c5ba4b442 (diff)
downloadbonito-fe99bbcf3e96467a4452d0c9a6a2721dac605663.tar.gz
Enable telephony audio device for pixel devices.
Pixel devices support a special audio device called TYPE_TELEPHONY which enables system apps to output audio in the telephony outgoing audio stream. This is used for some carriers to play a "call recording tone" which the remote party will hear if the user starts recording audio with a call recording app. Test: Manual testing Bug: 64138141 Change-Id: I690c0973b9065a17c97d2895fc7f14cee14208c1
Diffstat (limited to 'overlay/packages')
-rw-r--r--overlay/packages/services/Telephony/res/values/config.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/services/Telephony/res/values/config.xml
index 7224c9cc..4072b9e3 100644
--- a/overlay/packages/services/Telephony/res/values/config.xml
+++ b/overlay/packages/services/Telephony/res/values/config.xml
@@ -22,4 +22,10 @@
<!-- Flag indicating whether the device supports RTT (real-time text) -->
<bool name="config_support_rtt">true</bool>
+
+ <!-- This device supports the AudioManager Telephony audio device and output onto this
+ device using {@link AudioDeviceInfo#TYPE_TELEPHONY}.
+ This is used to support carriers which generate a recording tone to the remote party
+ when a call recording app is in use. -->
+ <bool name="config_support_telephony_audio_device">true</bool>
</resources>