summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorFang Yunong <yunong@codeaurora.org>2015-09-29 09:07:38 +0800
committerLinux Build Service Account <lnxbuild@localhost>2016-08-24 08:07:02 -0600
commit01b1eea7836e64c891ee7c71240ab3465ee9e7cb (patch)
tree6f6c5f78839577bad2a4c6450e049b89a3265565 /res
parentcf449d657749051d34071784c6539dfc418b4ed8 (diff)
downloadandroid_packages_apps_DeskClock-01b1eea7836e64c891ee7c71240ab3465ee9e7cb.tar.gz
android_packages_apps_DeskClock-01b1eea7836e64c891ee7c71240ab3465ee9e7cb.tar.bz2
android_packages_apps_DeskClock-01b1eea7836e64c891ee7c71240ab3465ee9e7cb.zip
Clock: Customize Alarm Snooze Duration for carrier
Sets the default value for the Alarm Snooze Duration. Change-Id: I9834028d17ab0e196076ade31d6982c25ba0a979 CRs-Fixed: 1043367
Diffstat (limited to 'res')
-rwxr-xr-xres/values/strings.xml2
-rwxr-xr-xres/xml/settings.xml2
2 files changed, 3 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 6035c6eb4..0d71aee12 100755
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1163,6 +1163,8 @@
<!-- Ringtone selection default" -->
<string name="ringtone_default">"Default ringtone"</string>
+ <string name="def_snooze_time" translatable="false">10</string>
+
<!--used for prompt to user storage permission status-->
<string name="have_denied_storage_permission">You have denied storage permission,and can manually add this permission again in setting application</string>
</resources>
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 06d33b2cb..3c98d780a 100755
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -60,7 +60,7 @@
<com.android.deskclock.settings.SnoozeLengthDialog
android:key="snooze_duration"
android:title="@string/snooze_duration_title"
- android:defaultValue="10"/>
+ android:defaultValue="@string/def_snooze_time"/>
<Preference
android:key="volume_setting"