summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2018-06-15 16:58:46 -0700
committerTyler Gunn <tgunn@google.com>2018-06-18 14:02:49 -0700
commit25c1111342bd6ffbbee51598f4b7999ea52d4e3f (patch)
treed3ee2640eeb8c56eed4dc7723af83774e5dceb98 /res/values
parenta1c2f7f6c6ae38dcbff464f36a7d447357e36ea6 (diff)
downloadplatform_packages_services_Telecomm-25c1111342bd6ffbbee51598f4b7999ea52d4e3f.tar.gz
platform_packages_services_Telecomm-25c1111342bd6ffbbee51598f4b7999ea52d4e3f.tar.bz2
platform_packages_services_Telecomm-25c1111342bd6ffbbee51598f4b7999ea52d4e3f.zip
Add option to use Ringtone looping API in Telecom config.xml
Currently AsyncRingtonePlayer will check every 3 seconds to see if the ringtone has stopped playing and restart it if it has. Adding a config option so that we can isntead opt to just set the ringtone to loop by itself. Default is to use existing 3 second handler check. Bug: 75947705 Test: manual incoming ringer test Change-Id: Id7c17175d3c0adbc3a1c6504b17ebc4866421bab
Diffstat (limited to 'res/values')
-rw-r--r--res/values/config.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index 3e0250516..b07962dfa 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -55,4 +55,9 @@
When false, a fancy vibration pattern which ramps up and down will be used.
Devices should overlay this value based on the type of vibration hardware they employ. -->
<bool name="use_simple_vibration_pattern">false</bool>
+
+ <!-- When true, if Telecom is playing the ringtone, it will attempt to pause for some time
+ between repeats of the ringtone.
+ When false, the ringtone will be looping with no pause. -->
+ <bool name="should_pause_between_ringtone_repeats">true</bool>
</resources>