summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2009-11-19 09:13:48 -0500
committerPatrick Scott <phanna@android.com>2009-11-19 09:13:48 -0500
commitbb4dbac9655226b87502655c1fa7e8fca1357bf4 (patch)
treefca6883d5ed1f00033c0b9240b4a335a75b4cc69
parentb95b7a63c403a17c3725e1ccfbd65b4283fd6a0f (diff)
downloadandroid_packages_apps_DeskClock-bb4dbac9655226b87502655c1fa7e8fca1357bf4.tar.gz
android_packages_apps_DeskClock-bb4dbac9655226b87502655c1fa7e8fca1357bf4.tar.bz2
android_packages_apps_DeskClock-bb4dbac9655226b87502655c1fa7e8fca1357bf4.zip
Allow picking ringtones as alarm alerts.
The original request was for just a few of the ringtones but that really isn't possible with the current framework. Media files are classified by what folder they are transferred to during the build. It would be nice to have a way to specify what media files should be allowed in the list of ringtones but for now, I think it is ok to allow selecting any of the built-in ringtones.
-rw-r--r--res/xml/alarm_prefs.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/xml/alarm_prefs.xml b/res/xml/alarm_prefs.xml
index 84b44e23a..3619836f1 100644
--- a/res/xml/alarm_prefs.xml
+++ b/res/xml/alarm_prefs.xml
@@ -22,7 +22,7 @@
<com.android.deskclock.AlarmPreference
android:key="alarm"
android:title="@string/alert"
- android:ringtoneType="alarm"
+ android:ringtoneType="alarm|ringtone"
android:persistent="false"
android:showDefault="false"
android:showSilent="true" />