aboutsummaryrefslogtreecommitdiff
path: root/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/mostrecent_syncadapter.xml8
-rw-r--r--res/xml/settings.xml12
-rw-r--r--res/xml/starred_syncadapter.xml8
3 files changed, 28 insertions, 0 deletions
diff --git a/res/xml/mostrecent_syncadapter.xml b/res/xml/mostrecent_syncadapter.xml
new file mode 100644
index 00000000..9e76182a
--- /dev/null
+++ b/res/xml/mostrecent_syncadapter.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
+ android:contentAuthority="github.daneren2005.dsub.mostrecent.provider"
+ android:accountType="subsonic.org"
+ android:userVisible="true"
+ android:supportsUploading="false"
+ android:allowParallelSyncs="false"
+ android:isAlwaysSyncable="true"/> \ No newline at end of file
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 6756a5d8..4355d890 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -192,6 +192,18 @@
android:summary="@string/settings.sync_wifi_summary"
android:key="syncWifi"
android:defaultValue="true"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.sync_starred"
+ android:summary="@string/settings.sync_starred_summary"
+ android:key="syncStarred"
+ android:defaultValue="false"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.sync_most_recent"
+ android:summary="@string/settings.sync_most_recent_summary"
+ android:key="syncMostRecent"
+ android:defaultValue="false"/>
</PreferenceCategory>
<PreferenceCategory
diff --git a/res/xml/starred_syncadapter.xml b/res/xml/starred_syncadapter.xml
new file mode 100644
index 00000000..4d065e93
--- /dev/null
+++ b/res/xml/starred_syncadapter.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
+ android:contentAuthority="github.daneren2005.dsub.starred.provider"
+ android:accountType="subsonic.org"
+ android:userVisible="true"
+ android:supportsUploading="false"
+ android:allowParallelSyncs="false"
+ android:isAlwaysSyncable="true"/> \ No newline at end of file