aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-03-28 17:24:48 -0700
committerScott Jackson <daneren2005@gmail.com>2016-03-28 17:24:48 -0700
commit8006545a86a0158ff9ede9c8cf7b547ab2d1686a (patch)
treefd77f2b44352eaf3e3db63502837582e3ce87661 /app/src/main/res
parent79a92bd6f401aef9095b48e5e47570b7c1b1159e (diff)
downloaddsub-8006545a86a0158ff9ede9c8cf7b547ab2d1686a.tar.gz
dsub-8006545a86a0158ff9ede9c8cf7b547ab2d1686a.tar.bz2
dsub-8006545a86a0158ff9ede9c8cf7b547ab2d1686a.zip
Fixes #667: Add optional caching while casting
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/xml/settings_cast.xml6
2 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index ee4af53c..b201b4cb 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -472,6 +472,8 @@
<string name="settings.casting_stream_original_summary">Stream original files where supported by cast device</string>
<string name="settings.heads_up_notification">Heads Up Notifications (5.0+)</string>
<string name="settings.heads_up_notification_summary">Show playing notifications as Heads Up notifications (Android Lollipop+ only)</string>
+ <string name="settings.casting_cache">Cache While Casting</string>
+ <string name="settings.casting_cache_summary">Cache currently playing songs while casting</string>
<string name="shuffle.title">Shuffle By</string>
<string name="shuffle.startYear">Start Year:</string>
diff --git a/app/src/main/res/xml/settings_cast.xml b/app/src/main/res/xml/settings_cast.xml
index 45766162..c23ae04d 100644
--- a/app/src/main/res/xml/settings_cast.xml
+++ b/app/src/main/res/xml/settings_cast.xml
@@ -21,5 +21,11 @@
android:summary="@string/settings.casting_stream_original_summary"
android:key="castStreamOriginal"
android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.casting_cache"
+ android:summary="@string/settings.casting_cache_summary"
+ android:key="castCache"
+ android:defaultValue="false"/>
</PreferenceCategory>
</PreferenceScreen> \ No newline at end of file